Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3850 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
6451
2
Mei 24
4210
1
Sep 15
5650
3
Mar 15
16018
3
Mei 25
2237