跳至内容
菜单
此问题已终结
1 回复
3650 查看

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

形象
丢弃
最佳答案

Hi,

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


Thanks

形象
丢弃
相关帖文 回复 查看 活动
3
5月 24
5999
2
5月 24
3853
1
9月 15
5455
3
3月 15
15593
3
5月 25
1592