Developer forum

Forum » Dynamicweb 10 » SelectMultiDual not showing saved values in extended UI

SelectMultiDual not showing saved values in extended UI

Kasper Pedersen
Reply

Hello, I have extended the UI and have a tab on my edit screen where i use a SelectMultiDual. When choosing the fields and pressing save, it works as expected and saves the values as a commaseparated string in globalsettings. The next time i go to the tab, the selection is missing from the right side even though the values are still saved in the global setting. Is this a bug or do i have to do something to make the selected values show up on the right side of the SelectMultiDual?

 

Best regards,

Kasper Pedersen


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

How does your code look like?

You have a data model with some properties I guess - what is the type of the property containing the selected values? If it is a string, the value "something, somethingelse" is used for finding the selected value. So try to change your property to a ICollection<string> - e.g. a List<string> and then your options should be selected

 

You must be logged in to post in the forum