-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
spellCheck property not working #3399
Comments
@pauhull the correct property to use if you're setting a boolean value is <input spellcheck={false} /> The |
@developit do we want to patch this in compat? |
I'd prefer not to, since the mappings will grow large. |
In that case shall we close this as we have a fix here |
Only |
@martpet |
In this example it doesn't work - github repo (preview), though I'm using "preact-render-to-string", if it matters. |
Yes, rts matters a lot -- it's a different environment entirely. Care to open an issue? I'll try to take a look at that later, schedule permitting. |
<textarea spellCheck={false} />
omits spellcheck
attr (should be string "false"
)
denoland/fresh#2649
I am using TypeScript to bundle JSX for use with preact. I noticed that the "spellCheck" property on input elements is not working correctly.
<input spellCheck={false} />
doesn't even render the property in the DOM,<input spellCheck="false" />
works, but there is a TypeScript error because it doesn't fit the definition.The text was updated successfully, but these errors were encountered: