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

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
46299
1
3月 16
5894
2
3月 24
17265
2
9月 23
10061
4
12月 23
19979