Skip to Content
Menu
This question has been flagged
1 Atsakyti
5331 Rodiniai

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 

Portretas
Atmesti
Autorius 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

 

 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugp. 20
2671
0
vas. 18
3132
0
rugs. 17
3870
2
lapkr. 15
395
1
vas. 24
11690