Hi Team,
Below code is working fine when ${properties.checkbox} = false
<sly data-sly-test="${properties.checkbox}">
<div>
</sly>
<sly data-sly-test="${properties.checkbox}">
</div>
</sly>
But the same code is not working after adding another opening and closing div just before and after. code which isn't working is below when ${properties.checkbox} = false
<div>
<sly data-sly-test="${properties.checkbox}"> this sly isn't going inside when it is false as expected
<div>
</sly>
<sly data-sly-test="${properties.checkbox}"> //this sly is going inside when condition is false
</div> //closing div, this line is executing when condition is false
</sly>
</div>
output when ${properties.checkbox} = false.
<div>
</div>
</div>
Any suggestion would be appreciated.
Thanks in advance.