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

Hi Guys,

I created a new page in the partner form with a button to change the type of an input field. I want it to work in edit and view mode.  The issue is that when I use it in Edit mode it is working fine but when I try to push it in View mode the Javascript is disabled. The edit button is bounced instead of executing my Javascript. I have implement my button extending a instance.web.form.AbstractField as a widget. How can I make my button works in view mode.

Thanks in advance


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 20
3045
0
فبراير 18
3342
0
سبتمبر 17
4143
1
يوليو 17
3064
2
نوفمبر 15
633