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

Forums / Developing with Sitefinity / Possible to add multiple selectors to a single widget designer view...?

Possible to add multiple selectors to a single widget designer view...?

2 posts, 1 answered
  1. H
    H avatar
    0 posts
    Registered:
    14 Mar 2017
    28 Mar
    Link to this post

    Hi all,

    I've spent the past week getting to grips with extending Sitefinity and creating custom MVC widgets. So far I have not had any trouble creating widgets with one selector in the designer view. 

     

    Now I am trying to create a designer view that holds two selectors:

    <sf-list-selector sf-multiselect="true"
                      sf-taxon-selector
                      sf-selected-ids="ids">
    </sf-list-selector>

    <sf-list-selector sf-dynamic-items-selector
                      sf-item-type="properties.ModuleType.PropertyValue"
                      sf-multiselect="true"
                      sf-sortable="true"
                      sf-master="true"
                      sf-selected-ids="stickyIds">
    </sf-list-selector>

     

    But no matter how much I try I cannot get the 'stickyIds' to map to my controller and store any values, the very same selector on it's own works fine when mapped using 'ids'. My angular controller has the correct watch set up.

     

    I cannot figure out why this is not working, like I said above I have tried to search for information but can't find much!

     

    If anyone has any advice I would be grateful!

    Thank you in advance!

  2. H
    H avatar
    0 posts
    Registered:
    14 Mar 2017
    28 Mar
    Link to this post

    Hi all!

    An update:

    I figured out the problem, the angular controller was cached in my browser! Thought I'd reply because it was the last avenue I would head down and hopefully this may help others!

    Answered
2 posts, 1 answered