I'm trying to add checkbox to my template parameter and giving default="1" value to make it checked by default.
<field name="fieldname" type="checkbox" label="fieldlabel" description="Desc of the field" value="1" default="1"/>
The output indeed checked by default by it can't be unchecked. Everytime I uncheck it and save the parameter, the checkbox is always back to checked.
If I change the default value to 0 then it's working properly. Any idea how to deal with this? Thanks