Skip to Content
Menú
This question has been flagged
1 Respondre
5329 Vistes

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
Descartar
Autor 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
Descartar
Related Posts Respostes Vistes Activitat
0
d’ag. 20
2647
0
de febr. 18
3121
0
de set. 17
3861
2
de nov. 15
387
1
de febr. 24
11672