コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2189 ビュー

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)]}'/>

アバター
破棄
関連投稿 返信 ビュー 活動
6
7月 24
46306
1
3月 16
5897
2
3月 24
17268
2
9月 23
10064
4
12月 23
19980