Possible to add multiple selectors to a single widget design

Posted by Community Admin on 04-Aug-2018 08:19

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

All Replies

Posted by Community Admin on 28-Mar-2017 00:00

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!

Posted by Community Admin on 28-Mar-2017 00:00

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!

This thread is closed