Skip to Content
Menú
This question has been flagged
1 Respondre
3298 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de gen. 17
5885
3
de des. 16
8454
0
de març 15
3626
0
de febr. 25
1317
0
de gen. 25
1138