コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3645 ビュー

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
5996
2
5月 24
3852
1
9月 15
5455
3
3月 15
15590
3
5月 25
1589