Skip to Content
Menú
This question has been flagged
1 Respondre
3871 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
6471
2
de maig 24
4227
1
de set. 15
5677
3
de març 15
16055
3
de maig 25
2246