跳至內容
選單
此問題已被標幟
1 回覆
5489 瀏覽次數

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
2912
0
2月 18
3245
0
9月 17
3982
2
11月 15
538
1
2月 24
11804