Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5675 มุมมอง

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 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

                <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

 

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 20
3197
0
ก.พ. 18
3453
0
ก.ย. 17
4304
2
พ.ย. 15
762
1
ก.พ. 24
12076