跳至內容
選單
此問題已被標幟
3312 瀏覽次數

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'),
                });
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 21
3216
0
2月 22
1866
1
5月 21
15854
1
4月 21
4560
1
8月 20
9089