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
We’re using the built-in DOM property innerHTML to retrieve the HTML from the DOM and this is how it treats empty attributes. That being said, I agree that checked is more neat than checked="" so it might be worth looking into, but I think it requires extra parsing.
I dug into this a while back and it seemed it was dictated by a node module dependency, so it wasn't easily updated by us. But +1. This affects regular HTML and web components with Boolean props.
When adding an attribute that requires no value inside a tag, the HTML addon renders it with it with like [arttribute]="" intead of only [attribute]
Ex.
<input type="text" readonly /> <input type="checkbox" checked />
renders
<input type="text" readonly="" /> <input type="checkbox" checked="" />
It would be nice if this ="" was removed from the rendering. Thanks
The text was updated successfully, but these errors were encountered: