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

2 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.

  2. Ajai
    Ajai avatar
    0 posts
    Registered:
    10 May 2017
    20 Sep
    Link to this post

    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.

2 posts, 0 answered