Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3807 Zobrazení

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šit
Nejlepší odpověď

Hi,

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


Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
kvě 24
6309
2
kvě 24
4088
1
zář 15
5608
3
bře 15
15891
3
kvě 25
2032