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

I want create one input field and give a class as widget and get a value of it using javascript. this widget used more than once 

アバター
破棄
著作者 最善の回答

                <input t-att-type="widget.password ? 'password' : 'text'"
                    t-att-id="widget.id_for_label"
                    t-att-tabindex="widget.node.attrs.tabindex"
                    t-att-autofocus="widget.node.attrs.autofocus"
                    t-att-placeholder="widget.node.attrs.placeholder"
                    t-att-maxlength="widget.field.size"
                    name="kladr_city"
                />

 t-att-id="widget.id_for_label" what is the meaning of this line

 

 

アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 20
3543
0
2月 18
3791
0
9月 17
4629
2
11月 15
1099
1
2月 24
12483