Ir al contenido
Menú
Se marcó esta pregunta
3184 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 21
3078
0
feb 22
1760
1
may 21
15732
1
abr 21
4381
1
ago 20
8952