it will generate `<tag disabled="disabled"/>...
# kvision
r
it will generate
<tag disabled="disabled"/>
which is equivalent
b
Nope, doesn't work 😕
r
doesn't generate the attribute? or does not work in this form?
b
Doesn't work in this form
Would be good to have
setBooleanAttribute(string, boolean)
available on all widgets
r
What are you trying to do?
It's not even KVision. It's snabbdom.
b
r
There is no disabled attribute there. It's "disabled" class name.
Or do I look at something different?
b
shit, you're right
r
as for the long form for boolean attributes it's defined in html spec: https://www.w3.org/TR/html4/intro/sgmltut.html#h-3.3.4.2