Reproduce:
Create an object for a client-side session in a Node project:
Create a button and an on click action to set a session variable.
Select your session object:
It won’t let you enter the object details. So it forces you to add some value and close the modal.
This will generate the code:
dmx-on:click="sessionDashboard.set('current_domain','myvalue')"
Now edit the on-click event. It lets you edit the object:
But it keeps the old value in the code, which is invalid:
dmx-on:click="sessionDashboard.set('current_domain',{: 'myvalue', id: 123, url: 'myurl'})"