Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3776 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
6237
2
Mei 24
4049
1
Sep 15
5580
3
Mar 15
15838
3
Mei 25
1940