I'd like to disable the spellcheck on my textfields <input type="text">
so as not to have any ugly red squigglies.
I understand others have asked this same question, but they always make the answer of putting spellcheck=false
as accepted. That is not correct. That only works on a textarea, not input.
I'd like it to work in chrome at least.
Here's how. Click File > Options > Proofing, clear the Check spelling as you type box, and click OK. To turn spell check back on, repeat the process and select the Check spelling as you type box.
It's not CSS but HTML: spellcheck="false" in your HTML element should do the trick.
To disable spellcheck in an HTML form the spellcheck attribute is set to “false”.
From http://blog.whatwg.org/the-road-to-html-5-spellchecking#compatibility:
Google Chrome offers as-you-type spellcheck on
<textarea>
elements but not<input type=text>
elements. It ignores the spellcheck attribute entirely. It does not offer the end user the option to change the default behavior or manually check individual fields.
So, it ends here.
Update: since Chrome 13 (released August 2011, 3 months after this answer), it's also supported on <input>
elements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With