Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3346 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jan 17
5928
3
Des 16
8554
0
Mar 15
3679
0
Feb 25
1427
0
Jan 25
1196