mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #23225] issue: Prompt variables and Input Forms not working anymore #19923
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AndreasUpb on GitHub (Mar 30, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23225
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.12
Ollama Version (if applicable)
No response
Operating System
Debian
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
Using suggestion prompts with input variables not working anymore. After filling the form and click on Save the form should fillout the user prompt, as before.
Actual Behavior
Two js errors occur, when using prompts with variables.
If no placeholder is set, the first js error occurs already when the input-form opens. When the variable like
{{myText|textarea:placeholder="Please fill out ..."}}has a placeholder defined, the error still occurs but when starting to type in the form-field (and the placeholder is hidden).The second error occurs when clicking on Save.
Steps to Reproduce
This is a simple example: {{MyText|textarea}}Logs & Screenshots
Uncaught (in promise) ReferenceError: placeholder is not defined
at InputVariablesModal.svelte:106:22
at InputVariablesModal.svelte:330:50
Uncaught (in promise) ReferenceError: variable is not defined
at InputVariablesModal.svelte:88:42
at h (InputVariablesModal.svelte:27:68)
at HTMLFormElement. (InputVariablesModal.svelte:82:7)
Additional Information
Maybe related to refactoring happened in
0dcd6ac983@flefevre commented on GitHub (Mar 30, 2026):
We do observe same behaviour
@tjbck commented on GitHub (Apr 1, 2026):
Should be addressed in dev, confirmation wanted here.
@Classic298 commented on GitHub (Apr 1, 2026):
ebc9ccbe1c