Skip to content

Conversation

@Lokimorty
Copy link

@Lokimorty Lokimorty commented Nov 13, 2025

There's annoying behavior when entering model names in "Add model" modal in the Settings that corrects model id's to dictionary words like "gpt" → "got"

This fix disables autocorrect, autocomplete, and spell check in the model search input to prevent model IDs from being auto-corrected to unrelated words in the "Add new model" modal (Settings > Model providers)

Added the following attributes to the Input component in ModelCombobox.tsx:
autoComplete="off" - disables browser autocomplete
autoCorrect="off" - disables macOS autocorrect
autoCapitalize="off" - disables auto-capitalization
spellCheck={false} - disables spell checking

To test it:

  1. Open Settings → Model providers
  2. Click "Add new model" on any provider
  3. Type a model ID in the search field (e.g., "gpt" that often corrects to "got")
  4. Verify autocorrect doesn't interfere with the input
  5. Test on macOS to confirm autocorrect is disabled

Disable autocorrect, autocomplete, and spell check in the model search
input field within the "Add new model" modal. Model IDs are technical
identifiers and should not be auto-corrected to unrelated words.

Added attributes:
- autoComplete="off"
- autoCorrect="off"
- autoCapitalize="off"
- spellCheck={false}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant