# uibuilder.sendEvent() breaks @v6.7.0

**URL:** <https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [14 February 2024 03:37 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519 "2024-02-14T03:37:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![skipware](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@skipware](https://discourse.nodered.org/u/skipware)\
**Post date:** [14 February 2024 03:37 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519/1 "2024-02-14T03:37:15Z")

</div>

To reproduce this error use UIBuilder @v6.7.0 or later.  
Use initial/default uibuilder installation, install vue in the library, use supplied template 'Vue3 no build step, ESM Client, Vue module'.

This page is rendered:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/4619f690db7b8346b75aa6fd3986dad5bcd095c7.png)

Enter some text in the text field (for the '....when you exit it' input box) and press tab.  
The event is fired and the 'Data from front end' msg is received in nodeRED. However the payload.value=false.

Do all necessary to remove uibuilder and reinstall uibuilder directly with npm in .node-red directory:  
npm i node-red-contrib-uibuilder@6.6.0

repeat the above tests and payload.value will contain the entered text.

---

<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:** [14 February 2024 17:02 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519/2 "2024-02-14T17:02:27Z")

</div>

> [@skipware](#):
>
> The event is fired and the 'Data from front end' msg is received in nodeRED. However the payload.value=false.

Good spot. I can confirm this is, indeed and issue. Let me look to see what the issue is.

---

<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:** [14 February 2024 17:50 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519/3 "2024-02-14T17:50:11Z")

</div>

OK, found the bug. It is fixed in the v6.9 dev branch.

As a work-around, you can simply wrap your inputs in a `<form>` since that part of the code works just fine. It is only standalone inputs that aren't quite right. If you really need a fix sooner, I'll try to find some time to release a bug fix release but I'd prefer not to if it isn't critical.

---

<div class="post-metadata">

**Author:** ![skipware](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@skipware](https://discourse.nodered.org/u/skipware)\
**Post date:** [15 February 2024 00:07 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519/4 "2024-02-15T00:07:17Z")

</div>

Thanks for quick reply. Not critical for me, I can wait until v6.9. Thanks again.

---

<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:** [15 May 2024 00:07 UTC](https://discourse.nodered.org/t/uibuilder-sendevent-breaks-v6-7-0/85519/5 "2024-05-15T00:07:33Z")

</div>

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