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

Cannot disable spellchecking on <input> #991

Open
jasonhibbs opened this issue Jun 3, 2019 · 8 comments
Open

Cannot disable spellchecking on <input> #991

jasonhibbs opened this issue Jun 3, 2019 · 8 comments

Comments

@jasonhibbs
Copy link

Partial search terms are marked as spelling mistakes and I’ve not found a way to prevent this using standard methods.

Reproduction Link

https://jsfiddle.net/cn8o4s03/

Steps to reproduce

Add [spellcheck="off"]

Optimistically Expected behaviour

Pass attribute to input.

Actual behaviour

Nothing.

@shentao
Copy link
Owner

shentao commented Jun 4, 2019

This sounds like a great PR candidate. Would love to merge this. :)

@LadyMashiro
Copy link
Contributor

Removed the spellcheck from the search field.

@xloading
Copy link

Hi @shentao!
Could you please bring the version with this fix to NPM?
It seems to be rather critical for mobile devices.
Thanks a lot in advance!

@abhishek-kumar-91
Copy link

I want to work on this issue, please assign me.

@gimnathperera
Copy link

is this till open ? @shentao

@RuhaniMakhija
Copy link

I wanted to work on this please assign me

@niktariy
Copy link

niktariy commented Dec 28, 2023

Hi @shentao, @LadyMashiro, this is still an issue, please make a props to control input behavior, because we need to disable it

@oksanakaur
Copy link

oksanakaur commented Jun 29, 2024

I think that this issue you're facing is due to the browser's default behavior of spell checking from fields including searching inputs. try to add spellcheck="off" attribute to the parent element, like a div or form containing the search input:

mattelen added a commit that referenced this issue Sep 12, 2024
search-spellcheck: pass spellcheck as prop (Issue #991)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants