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
3687 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
6080
2
kvě 24
3947
1
zář 15
5500
3
bře 15
15674
3
kvě 25
1720