cancel
Showing results for 
Search instead for 
Did you mean: 

Web IDE Layout Editor removing press event for buttons

0 Kudos

Using the Master-detail template, I edited a project to add a button to a master.view.xml.  I noticed that if I directly edit it with the code editor to add a press event to the <Button>, then later edit the button with the Layout editor (such as changing the icon) it will remove the press=[function] from the button.  How can this be avoided?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Seems like issue with any event not matter which control, even if event handler exist in controller.

0 Kudos

It's a bug in layout editor that should be fixed in 1.10.

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Yeah, seems like a bug. And seems like it is on editor's cleint side

When the file is loaded to editor, button has property:

but once property changed, it PUT it without