Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3330 Переглядів

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>
Аватар
Відмінити
Найкраща відповідь

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>
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
січ. 17
5910
3
груд. 16
8537
0
бер. 15
3665
0
лют. 25
1377
0
січ. 25
1159