Skip to Content
Menu
This question has been flagged
1 Odpoveď
5740 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
aug 20
3279
0
feb 18
3534
0
sep 17
4374
2
nov 15
848
1
feb 24
12203