Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5475 Zobrazení

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šit
Autor Nejlepší odpověď

                <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šit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 20
2793
0
úno 18
3232
0
zář 17
3957
2
lis 15
501
1
úno 24
11774