Skip to Content
Menu
This question has been flagged
1 Odpoveď
3872 Zobrazenia

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
Zrušiť
Best Answer

Hi,

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


Thanks

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
máj 24
6472
2
máj 24
4228
1
sep 15
5678
3
mar 15
16056
3
máj 25
2246