İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3296 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 17
5885
3
Ara 16
8453
0
Mar 15
3626
0
Şub 25
1315
0
Oca 25
1138