API key field displays longer than actual key after saving, making it hard to edit
#1,078 opened on Jun 3, 2026
Repository metrics
- Stars
- (43 stars)
- PR merge metrics
- (Avg merge 2d 10h) (106 merged PRs in 30d)
Description
Bug Report
Description
Once an API key has been saved, the password field in the LLM settings renders significantly more dots than the actual length of the stored key. The field appears much wider/longer than it should, which makes it visually confusing and hard to select/clear the field when trying to update the key.
Steps to Reproduce
- Open the LLM settings panel
- Enter and save an API key
- Re-open the settings panel
- Observe the API key field — the dots stretch well beyond the actual key length
Expected Behavior
The masked field should reflect the actual length of the stored key (or use a fixed-width placeholder like •••••••• to indicate a key is set), so users can easily tell when the field is populated and can confidently clear/replace it.
Actual Behavior
The dots rendered in the field are considerably longer than the real key value. The dot row extends far past the actual key length, making it hard to tell where the field ends and awkward to click into and clear the field when rotating keys.
Impact
- Visually confusing — the field looks much longer than the real key
- Makes it hard to select/clear the field when you want to change the key
This issue was created by an AI agent (OpenHands) on behalf of the user.