コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3674 ビュー

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
3498
0
2月 22
2244
1
5月 21
16221
1
4月 21
4960
1
8月 20
9458