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

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
3327
0
2月 22
2043
1
5月 21
16016
1
4月 21
4744
1
8月 20
9239