Skip to content

Remove autocorrect/spellcheck from card text search fields#375

Open
bhollis wants to merge 1 commit intofafranco82:masterfrom
bhollis:card-text-autocorrect
Open

Remove autocorrect/spellcheck from card text search fields#375
bhollis wants to merge 1 commit intofafranco82:masterfrom
bhollis:card-text-autocorrect

Conversation

@bhollis
Copy link
Copy Markdown

@bhollis bhollis commented Jan 20, 2024

Safari on macOS and iOS will rather aggressively auto-correct text in input fields if it believes the text has been misspelled. Unfortunately its default dictionary does not contain the wide variety of Star Wars names and terms and often autocorrects them to other words, which makes it tough to search SWDestinyDB (especially on mobile).

This change disables autocorrect on card search textboxes using the following attributes:

  • spellcheck to disable spell check underlines
  • autocapitalize because the search is already case-insensitive.
  • autocorrect a nonstandard Safari-only option that disables inline autocorrect.

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