跳至内容
菜单
此问题已终结
1 回复
5546 查看

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
2990
0
2月 18
3315
0
9月 17
4077
2
11月 15
609
1
2月 24
11889