I'm building a dashboard in uibuilder with Vue2/Bootstrap, starting from the template provided. I'm using a Spinbutton to allow the user to change the values of certain settings. The @change
event on the Spinbutton calls the doEvent(event)
method in the component when the user changes the value of the form element, but uibuilder.eventSend(event)
inside of doEvent(event)
is not getting triggered in this scenario. A regular ol' button wired up to the same doEvent()
method in the component works properly and sends the event back to Node-RED.
Does uibuilder.eventSend()
only work with DOM events, or is there some way I can get this to work? Basically I'd like to send an updated value of the Spinbutton back to Node-RED on the change, and I'd prefer not to have to use a separate "Save" button. I do know that the @change
event is sending a numeric value to doEvent()
and not a DOM event object (as a click
event on a button would).