Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3342 Vizualizări

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>
Imagine profil
Abandonează
Cel mai bun răspuns

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>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
ian. 17
5926
3
dec. 16
8553
0
mar. 15
3676
0
feb. 25
1426
0
ian. 25
1196