Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3286 Visualizzazioni

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


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 20
3118
0
feb 18
3389
0
set 17
4205
1
lug 17
3135
2
nov 15
703