Sightly - Not able to assign value 'false' to a div property
I'm having this problem assigning value 'FALSE' to the <div> attribute.
I need to implement the following HTML
<div d-automode="${obj.message}"> <p>Content goes here</> </div>Value for ${obj.message} will be 'true' or 'false'. All works fine when the value is TRUE. But, when the value is FALSE, sightly completely removes the attribute 'd-automode' and the resulting HTML is as below:
<div> <p>Content goes here</> </div>
Can someone please provide a solution on how to set value of 'false' fro this attribute?
Thanks,