Checkbox not reflecting the passed boolean value in the designer
I have a custom MVC widget for which I created a custom designer which has 1 textbox and 2 checkboxes. I want to pass default values to the designer which should be shown in the designer whenever the user drags the widget to the page and clicks edit . I am able to successfully display the default value in the text box but the checkboxes are not showing the default values I am passing from the controller.
// this is how I am binding the controller boolean field showContactInfo in the designer.js file
jQuery(this.get_showContactInfo()).attr("isChecked", controlData.showContactInfo );
Please let me know asap.
I am also facing the same issue? anybody have a solution for this .
Basically I have a check box in the designer and I want the it's checked value to be set on the corresponding controller property.