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

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
3142
0
2月 18
3420
0
9月 17
4250
2
11月 15
726
1
2月 24
12035