Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3504 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
abr. 21
3394
0
fev. 22
2089
1
mai. 21
16062
1
abr. 21
4824
1
ago. 20
9287