+1-888-365-2779
Try Now
More in this section

Forums / Project Feather / Checkbox not reflecting the passed boolean value in the designer

Checkbox not reflecting the passed boolean value in the designer

1 posts, 0 answered
  1. Ridhi
    Ridhi avatar
    11 posts
    Registered:
    31 May 2016
    01 Dec 2016
    Link to this post

    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.

1 posts, 0 answered