You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VariableText and VariableTextArea controls append a trailing space after a picked variable, with no way to turn it off #288
Picking a suggestion in a VariableText or VariableTextArea field inserts the reference followed by a space, for example {{nodes.abc.response}} plus a trailing space. The space is saved in the property value. When the field holds a single reference (an id, a URL segment, a lookup key), the trailing space makes the resolved value wrong. For us it caused failures at runtime.
There's no supported way to turn it off. The docs list only placeholder (and minRows) for these controls.
Why
VariableText defaults the react-mentions option to true:
VariableText and VariableTextArea are the only controls that bind a free-text property to the {{ picker. A custom renderer can't replace them cleanly, because the mention component and the upstream-suggestions hook aren't exported from @workflowbuilder/sdk.
Desired Behavior
A way to have these two controls insert a reference without the trailing space. We'd like to keep the current behavior for existing nodes, so that a node author can opt out per field. We're happy with whatever shape you prefer.
Thanks, confirmed. This is an oversight on our side, not a design choice.
We will add a per-field option to turn the space off. It will land after #76, which rewrites both controls. For now, trimming the value on your side is the workaround.
Activity
piotrblaszczyk commentedon Nov 24, 2026
Thanks, confirmed. This is an oversight on our side, not a design choice.
We will add a per-field option to turn the space off. It will land after #76, which rewrites both controls. For now, trimming the value on your side is the workaround.