Skip to Content
Menu
This question has been flagged
1 Reply
3329 Views

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>
Avatar
Discard
Best Answer

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>
Avatar
Discard
Related Posts Replies Views Activity
1
Jan 17
5909
3
Dec 16
8535
0
Mar 15
3664
0
Feb 25
1377
0
Jan 25
1158