jan icon indicating copy to clipboard operation
jan copied to clipboard

fix: disable autocorrect in model search input

Open Lokimorty opened this issue 3 weeks ago • 0 comments

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

Lokimorty avatar Nov 13 '25 14:11 Lokimorty