granite/ui/components/coral/foundation/form/checkbox uncheckedValue not working
Hi Team
I have an issue when checkbox is unchecked the value is empty "" instead I would like to store it as false.
When it is checked I am getting as "true"
could you please advise me on the below 2 issues:
1. When checkbox is not checked or unchecked I want value as false
2. When checkbox is checked, i am getting "true" in json which is a string. Can I get as boolean like true.
below is my node structure :
<disable
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="Checking will add a check icon"
name="./disable"
text="disable"
checked="{Boolean}false"
value="{Boolean}true"
deleteHint="{Boolean}false"/>