تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5472 أدوات العرض

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

 

 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 20
2766
0
فبراير 18
3218
0
سبتمبر 17
3946
2
نوفمبر 15
487
1
فبراير 24
11767