Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3799 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
6302
2
Mai 24
4079
1
Sept. 15
5606
3
März 15
15876
3
Mai 25
2016