Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Spellcheck on header search inputs #2929

Merged

Conversation

joachimesque
Copy link
Contributor

The header search input shouldn't accept automatic spellcheck. Searching for a book or an author means entering words that are not in the dictionary (like author names, invented places, etc.), and I shouldn't have my computer or mobile phone automagically change these words just before I submit the search

On the technical side, here's the doc for the spellcheck attribute on input elements: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/text#spellcheck

(This PR hasn't been tested yet)

@joachimesque joachimesque self-assigned this Jul 30, 2023
Copy link
Contributor

@hughrun hughrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in Safari, looks good.

@hughrun hughrun merged commit 61283b3 into bookwyrm-social:main Jul 31, 2023
10 checks passed
@joachimesque
Copy link
Contributor Author

Thank you!

@joachimesque joachimesque deleted the search-disable-spellcheck branch July 31, 2023 10:48
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.

None yet

2 participants