Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3654 Tampilan

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
Buang
Jawaban Terbai

Hi,

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


Thanks

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 24
6007
2
Mei 24
3861
1
Sep 15
5468
3
Mar 15
15604
3
Mei 25
1597