Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3844 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
6443
2
mai 24
4202
1
sept. 15
5650
3
mar. 15
16017
3
mai 25
2235