AnsweredAssumed Answered

CheckBox default configuration

Question asked by rohit.chakraborty on Dec 9, 2015
Latest reply on Dec 10, 2015 by ddraper
Hi, All

I am using CheckBox in my form dialog and I am setting default value to CheckBox, If I open the form dialog CheckBox is in "on" state for all cases. its not considering the default value. here is my code

        name: "alfresco/forms/controls/CheckBox",
       config: {
        name: "prop_" + type + ":", type + "_"),
        label: booleanProperty,//property.title,
        description: "Enter " + property.dataType + " value.",
        value: "{itemData.prop_" + + ":", type + "_") +

I checked the value of "{itemData.prop_" + + ":", type + "_") + ".displayValue}" by initializing it to label its false but in the form dialog the checkBox is true, I just updated the Aikau to Aikau 1.0.46. Is there any configuration mistake.
do you have any suggestion?