Skip to Content
Menu
This question has been flagged
1 Reply
3636 Views

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

Hi,

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


Thanks

Avatar
Discard
Related Posts Replies Views Activity
3
May 24
5987
2
May 24
3846
1
Sep 15
5453
3
Mar 15
15581
3
May 25
1576