Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3679 Ansichten

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

Avatar
Verwerfen
Beste Antwort

Hi,

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


Thanks

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Mai 24
6065
2
Mai 24
3938
1
Sept. 15
5496
3
März 15
15655
3
Mai 25
1704