You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<input type=checkbox disabled=""> // I don't think the spec made it really clear but my browser interpret this as true
<input type=checkbox disabled="disabled"> // also means true
However, typed-html would generate the following
<input type=checkbox disabled=""> // for false, but this actually means true
<input type=checkbox disabled="true"> // for true, but this is invalid
I have wrote a hacky patch myself to fix this: wwylele@658a36f
The text was updated successfully, but these errors were encountered:
html boolean values are represented by the presence or absence of the attribute (https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes), which means the following are correct html
Additionally html also accepts the following
However, typed-html would generate the following
I have wrote a hacky patch myself to fix this: wwylele@658a36f
The text was updated successfully, but these errors were encountered: