Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3172 Widoki

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'),
                });
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 21
3072
0
lut 22
1749
1
maj 21
15728
1
kwi 21
4374
1
sie 20
8943