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
Pertanyaan ini telah diberikan tanda
1
Balas
5014
Tampilan
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
3
Mei 24
|
8694 | ||
|
|
2
Mei 24
|
6089 | ||
|
|
1
Sep 15
|
7085 | ||
|
How do you make a field conditionally read only?
Diselesaikan
|
|
3
Mar 15
|
18328 | |
|
|
2
Des 25
|
5104 |