Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3660 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

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


Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 24
6036
2
พ.ค. 24
3903
1
ก.ย. 15
5485
3
มี.ค. 15
15613
3
พ.ค. 25
1623