Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5481 Tampilan

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
Buang
Penulis Jawaban Terbai

                <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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Agu 20
2905
0
Feb 18
3236
0
Sep 17
3977
2
Nov 15
526
1
Feb 24
11793