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

Is it possible to make a field appear in the form when editing it only after it is created?

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

Yes it's possible. Do it like this:

<field name="id" invisible="1"/>

<field name="field_appear" attrs='{"invisible": [("id", "=", False)]}'/>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
6
ก.ค. 24
45977
1
มี.ค. 16
5794
2
มี.ค. 24
17185
2
ก.ย. 23
9960
How to create my own view? แก้ไขแล้ว
4
ธ.ค. 23
19921