Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3443 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
3325
0
feb 22
2032
1
mag 21
15992
1
apr 21
4734
1
ago 20
9232