mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 10:36:20 -06:00
[GH-ISSUE #17220] issue: Clicking "Cancel" in custom prompt dialog outputting prompt template to chat input #88952
Reference in New Issue
Block a user
Originally created by @adhusch on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17220
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.