# Ui-form misbehaving all of a sudden

**URL:** https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [22 March 2026 22:37 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630 "2026-03-22T22:37:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![metawops](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/metawops/32/105800_2.png) [@metawops](https://discourse.nodered.org/u/metawops)
#### Post date: [22 March 2026 22:37 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/1 "2026-03-22T22:37:34Z")

</div>

Dear lovely, helpful people,

I have a ui-form in my flow that used to work fine.  
It consists of 5 input fields, 3 text, 2 number, an "add" and a "cancel" button.

These options are dynamically set via a function node in front of the form node.  
That's because I have a language toggle and the function node gets triggered when the language changes.

Here's the code of this function node:

```javascript
const lang = global.get("language") || "de";

// Unsere Übersetzungen für die Eingabefelder
const dict = {
    de: {
        nameLabel: "Name (z.B. Bonn - Home)",
        idLabel: "ID (z.B. bonn_home)",
        latLabel: "Breitengrad",
        lonLabel: "Längengrad",
        tzLabel: "Zeitzone (z.B. Europe/Berlin)"
    },
    en: {
        nameLabel: "Name (e.g. Bonn - Home)",
        idLabel: "ID (e.g. bonn_home)",
        latLabel: "Latitude",
        lonLabel: "Longitude",
        tzLabel: "Timezone (e.g. Europe/Berlin)"
    }
};

const t = dict[lang];

msg.ui_update = {
    // Die Optionen überschreiben die konfigurierten Felder
    options: [
        { value: "name", label: t.nameLabel, type: "text", required: true },
        { value: "id", label: t.idLabel, type: "text", required: true },
        { value: "lat", label: t.latLabel, type: "number", required: true },
        { value: "lon", label: t.lonLabel, type: "number", required: true },
        { value: "timezone", label: t.tzLabel, type: "text", required: true }
    ]
};

// Button-Beschriftungen können leider nicht dynamisch geändert werden!
// Siehe Doku hier: https://dashboard.flowfuse.com/nodes/widgets/ui-form$0

return msg;

```

So, you see: all the `value`s are different. And: this used to work.

The form node's settings are like this:

 ![SCR-20260322-ualk](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/76951262f7cac78564b4927202b5c09ca8b83d7d.png)

This is the output of a debug node that sits directly at the output of the function node:

 ![SCR-20260322-uhtv](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8da65e61de19e3832e51cae463d90089ee659efb.png)

So the options sent to the chart node look correct to me.

Now watch how this form is behaving (I hope animated GIFs work here? Because .mp4 is not allowed):

![Screen Recording 2026-03-22 at 23.11.24](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/a/3a8eead5a0c6461d01817597ee9a6e52ab03e70b.gif)

### What I did to try & solve this

I completely removed this ui-form node and put a blank new one in – to no avail. Same thing.  
I entered the 5 elements inside the ui-form node manually and disconnected the function node. Same.  
I tried another browser (Chrome; I normally use Safari on macOS/iOS) – same.  
I rebooted my Node-Red LXC Container that runs on my Proxmox VE machine – same.

It behaved totally normal a few days earlier. I don't know what changed.

Has anybody ever seen this behaviour, too? Maybe it's a known bug? 😳  
Any help much appreciated. 🙏

Cheers,  
Stefan.

---

<div class="post-metadata">

### Author: ![rxraine](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@rxraine](https://discourse.nodered.org/u/rxraine)
#### Post date: [24 March 2026 07:58 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/2 "2026-03-24T07:58:48Z")

</div>

Hi Stefan. I had something similar with that form - suddenly it stopped populating when fed data from a table. Working with Gemini, there was apparently a change that causes this. In my case I needed a delay between showing the form with one ui\_update and sending dropdown data in another. Try adding a 100ms delay between your function and the ui-form and/or separating show and data into two flows with a delay.

---

<div class="post-metadata">

### Author: ![metawops](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/metawops/32/105800_2.png) [@metawops](https://discourse.nodered.org/u/metawops)
#### Post date: [26 March 2026 15:54 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/3 "2026-03-26T15:54:56Z")

</div>

Thanks, @rxraine, for caring/answering! 🤗  
Unfortunately, adding a 100 ms delay between the function node and the ui-form node didn't fix the problem.  
I will further experiment.  
But this looks very much like a bug, imho. 🤷‍♂️

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [26 March 2026 16:13 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/4 "2026-03-26T16:13:23Z")

</div>

Can you post a simple flow showing the problem so we can easily try it out?

---

<div class="post-metadata">

### Author: ![metawops](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/metawops/32/105800_2.png) [@metawops](https://discourse.nodered.org/u/metawops)
#### Post date: [26 March 2026 16:27 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/5 "2026-03-26T16:27:29Z")

</div>

I will try so ... on the weekend ...

---

<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: [25 April 2026 16:27 UTC](https://discourse.nodered.org/t/ui-form-misbehaving-all-of-a-sudden/100630/6 "2026-04-25T16:27:43Z")

</div>

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