Skip to Content
Menú
This question has been flagged
1 Respondre
3773 Vistes

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
Descartar
Best Answer

Hi,

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


Thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de maig 24
6235
2
de maig 24
4049
1
de set. 15
5578
3
de març 15
15838
3
de maig 25
1938