Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5304 Vues

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
Ignorer
Auteur Meilleure réponse

                <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
Ignorer
Publications associées Réponses Vues Activité
0
août 20
2455
0
févr. 18
2986
0
sept. 17
3657
2
nov. 15
194
1
févr. 24
11593