mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
issue: Clicking "Cancel" in custom prompt dialog outputting prompt template to chat input #6325
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 @adhusch on GitHub (Sep 5, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.26
Ollama Version (if applicable)
N/A
Operating System
Mixed
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Clicking cancel in a custom prompt dialog leaves the chat input field remain untouched, e.g. empty.
Actual Behavior
Clicking "Cancel" in the custom prompt dialog is outputting the prompt template to chat input instead of cancelling the operation.
Steps to Reproduce
Select a prompt:

Prompt Dialog opens:

Click "cancel"
Behaviour: Prompt template displays in chat input field:
Expected Behaviour: Chat input field remains untouched, e.g. empty
Logs & Screenshots
See in steps to reproduce.
Additional Information
No response
@tjbck commented on GitHub (Sep 5, 2025):
Intended behaviour.