When the Prefix ID edit field is focused, pressing the Enter key incorrectly triggers the API key reveal button (eye icon).
To Reproduce
Focus the Prefix ID edit field.
Press the Enter key.
Observe that the API key reveal button is triggered.
Expected behavior
Pressing the Enter key in the Prefix ID field should not trigger the API key reveal button. It should submit the form or perform the expected action for the Prefix ID field.
Originally created by @bannert1337 on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9663
### Describe the bug
When the Prefix ID edit field is focused, pressing the `Enter` key incorrectly triggers the `API key` reveal button (eye icon).
### To Reproduce
1. Focus the Prefix ID edit field.
2. Press the `Enter` key.
3. Observe that the `API key` reveal button is triggered.
### Expected behavior
Pressing the `Enter` key in the Prefix ID field should not trigger the API key reveal button. It should submit the form or perform the expected action for the Prefix ID field.
### Screenshots
https://github.com/user-attachments/assets/cc69d22a-f58a-4110-92b5-392734626e4e
### Open WebUI Version
v0.5.10
### Ollama Version
v0.5.7
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @bannert1337 on GitHub (Feb 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9663
Describe the bug
When the Prefix ID edit field is focused, pressing the
Enterkey incorrectly triggers theAPI keyreveal button (eye icon).To Reproduce
Enterkey.API keyreveal button is triggered.Expected behavior
Pressing the
Enterkey in the Prefix ID field should not trigger the API key reveal button. It should submit the form or perform the expected action for the Prefix ID field.Screenshots
https://github.com/user-attachments/assets/cc69d22a-f58a-4110-92b5-392734626e4e
Open WebUI Version
v0.5.10
Ollama Version
v0.5.7
@tjbck commented on GitHub (Feb 8, 2025):
Fixed with
43df7e1424