Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3310 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 21
3216
0
feb 22
1866
1
mag 21
15854
1
apr 21
4560
1
ago 20
9089