# uibuilder.eventSend not working with Bootstrap-Vue Spinbutton @change event

**URL:** <https://discourse.nodered.org/t/uibuilder-eventsend-not-working-with-bootstrap-vue-spinbutton-change-event/79946>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [19 July 2023 23:40 UTC](https://discourse.nodered.org/t/uibuilder-eventsend-not-working-with-bootstrap-vue-spinbutton-change-event/79946 "2023-07-19T23:40:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![serendipitist](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@serendipitist](https://discourse.nodered.org/u/serendipitist)\
**Post date:** [19 July 2023 23:40 UTC](https://discourse.nodered.org/t/uibuilder-eventsend-not-working-with-bootstrap-vue-spinbutton-change-event/79946/1 "2023-07-19T23:40:40Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 July 2023 19:31 UTC](https://discourse.nodered.org/t/uibuilder-eventsend-not-working-with-bootstrap-vue-spinbutton-change-event/79946/2 "2023-07-20T19:31:06Z")

</div>

Hi, the eventSend function is merely a convenience function that pulls together some standard data from a DOM event and is more for people who are not using a framework.

However, as you already have a function managing your event handling, you can replace it with a standard `uibuilder.send` and use the `event` object to get whatever you want and send it back to Node-RED.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 August 2023 19:31 UTC](https://discourse.nodered.org/t/uibuilder-eventsend-not-working-with-bootstrap-vue-spinbutton-change-event/79946/3 "2023-08-03T19:31:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
