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

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
3078
0
2月 22
1760
1
5月 21
15732
1
4月 21
4381
1
8月 20
8952