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
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
5127
มุมมอง
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
3
พ.ค. 24
|
8796 | ||
|
|
2
พ.ค. 24
|
6191 | ||
|
|
1
ก.ย. 15
|
7155 | ||
|
|
3
มี.ค. 15
|
18398 | ||
|
|
2
ธ.ค. 25
|
5509 |