Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3317 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
janv. 17
5899
3
déc. 16
8471
0
mars 15
3648
0
févr. 25
1325
0
janv. 25
1144