Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3329 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 20
3189
0
thg 2 18
3447
0
thg 9 17
4296
1
thg 7 17
3247
2
thg 11 15
757