Skip to Content
Menú
This question has been flagged
1 Respondre
3856 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
6454
2
de maig 24
4213
1
de set. 15
5651
3
de març 15
16024
3
de maig 25
2238