Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3656 Vizualizări

Hello I would like to know is there an attribute that allows me to block a field after another is written, that is, it is not written in it if another is true

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"


Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mai 24
6018
2
mai 24
3876
1
sept. 15
5473
3
mar. 15
15606
3
mai 25
1605