Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
1
avr. 21
3216
0
févr. 22
1866
1
mai 21
15854
1
avr. 21
4560
1
août 20
9089