mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-09 10:50:35 -06:00
[GH-ISSUE #21143] issue: multiple buttons with the same ID in chat window with Notes feature enabled #34926
Reference in New Issue
Block a user
Originally created by @schveiguy on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21143
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Buttons should not be assigned duplicate ids.
Actual Behavior
With the Notes feature enabled, when a chat window has text in it, there are two buttons that appear, the send button, and the "make note button", which both are assigned the id
send-message-button.per html rules, item ids must be unique.
This is affecting playwright scripts that I have, which try to press this button, but fail since multiple results are found.
I believe the error was introduced here: https://github.com/open-webui/open-webui/commit/00c2b6ca405d617e3d7520953a00a36c19c790ec#diff-021535124ecf569d90d74afd5d4af2baefa24bd540b65a3df9b02248ab067559R1794 possibly a copy-paste issue.
Steps to Reproduce
console.log(document.querySelectorAll("#send-message-button"));Logs & Screenshots
Notes feature must be enabled:
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Feb 4, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20414 issue: Chats can't be archived
by Ithanil • Jan 06, 2026 •
bug#19987 issue: There is a lack of visual consistency between the home page and the chat interface.
by i-iooi-i • Dec 16, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@silentoplayz commented on GitHub (Feb 4, 2026):
This issue has likely been resolved already, as I am unable to reproduce the reported issue on my end using the latestdevbranch version of Open WebUI across Mozilla Firefox and Google Chrome.Google Chrome
Mozilla Firefox
And to even see a length of
1here, I must have something typed within the chat input field of the chat.Update: I've reproduced the reported issue.
@schveiguy commented on GitHub (Feb 4, 2026):
Hm... I still see the dual ids in the dev copy of that file. Perhaps it's not as simple as using the vanilla installation.
I too, did not see any elements if I didn't type anything in the chat. But that is to be expected, the buttons don't show up until you do. Do you see both these buttons?
@schveiguy commented on GitHub (Feb 4, 2026):
OK, I found you have to enable the Notes feature. Editing the reproduction steps.
@silentoplayz commented on GitHub (Feb 4, 2026):
Aha! So I actually am able to reproduce the reported issue if I simply start a new chat and type something within the chat's input field. I am not able to reproduce it in existing chats because the
Create Notebutton does not appear then. Yes, I do have theNotes (Beta)featured enabled within the admin settings.New Chat
Existing Chat