How do i set custom boolean attribute on widget? `...
# kvision
b
How do i set custom boolean attribute on widget?
Copy code
setAttribute("disabled", "${booleanValue}")
does not work since it results in
Copy code
<tag disabled="true" />
<tag disabled="false" />
instead of expected
Copy code
<tag disabled />
<tag />
Context: I'm trying to add
disabled
attribute on
li
element to implement bootstrap pagination