Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3457 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 17
6227
3
pro 16
8822
0
bře 15
3943
0
úno 25
1689
0
led 25
1436