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

Is only one way to add on_chanage event to inherited field, using position="replace"?

For example I want to use another solution to add on_change to move_ids field:

<field name="move_ids" position="replace">
    <field name="move_ids" on_change="on_change_move_ids()"/>
</field>
アバター
破棄
最善の回答

Yes, you can do so.

There is another way to add/replace attribute:

<field name="move_ids" position="attributes">
    <attribute name="on_change">on_change_move_ids()</attribute>
</field>
アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 17
5909
3
12月 16
8526
0
3月 15
3663
0
2月 25
1374
0
1月 25
1156