跳至內容
選單
此問題已被標幟
3094 瀏覽次數

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
8月 20
2688
0
2月 18
3146
0
9月 17
3893
1
7月 17
2910
2
11月 15
421