Ui-form misbehaving all of a sudden

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:

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 values are different. And: this used to work.

The form node's settings are like this:

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

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

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? :flushed_face:
Any help much appreciated. :folded_hands:

Cheers,
Stefan.

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.