Skip to Content
मेन्यू
This question has been flagged
1 Reply
5632 Views

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 

Avatar
Discard
Author Best Answer

                <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

 

 

Avatar
Discard
Related Posts Replies Views Activity
0
अग॰ 20
3083
0
फ़र॰ 18
3377
0
सित॰ 17
4179
2
नव॰ 15
683
1
फ़र॰ 24
11970