Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3314 Prikazi

Hi, i need to translate attribute message in xml that i need to use in JS.

<field name="field1" onhange_warning="warning message!"/>

I need to translate onhange_warning xml or in JS


here is my JS code


Dialog.alert(this, _t(this.attrs['onhange_warning']), {
                    title: _t('Warning'),
                });
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
apr. 21
3216
0
feb. 22
1868
1
maj 21
15855
1
apr. 21
4563
1
avg. 20
9089