Skip to Content
Menú
This question has been flagged
1 Respondre
3942 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
6592
2
de maig 24
4334
1
de set. 15
5760
3
de març 15
16212
3
de maig 25
2422