Stencil version:
@stencil/[email protected]
I'm submitting a:
[x] bug report
Current behavior:
<input spellCheck={false} />
...renders to:
<input>
While...
<input spellCheck="false" />
...leads to an error:
[ ERROR ] TypeScript: input.tsx: Type 'string' is not assignable to type 'boolean | undefined'.
My current workaround that works fine...
<input spellCheck={"false" as any as boolean} />
...renders to:
<input spellcheck="false">
Expected behavior:
<input spellCheck={false} />
...renders to:
<input spellcheck="false">
I'm on version @stencil/core v1.13.0
this:
<input spellcheck="false" />
always renders to:
<input spellcheck="true" />
i have the same problem, open a new issue
True, "false" renders to "true". Passing it as a boolean works, however:
<input spellcheck={false} />
Most helpful comment
I'm on version
@stencil/core v1.13.0this:
<input spellcheck="false" />always renders to:
<input spellcheck="true" />