Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 10 votes in total. Thank you for your feedback.

Categories Editing
Created by Guest
Created on Mar 4, 2021

String list property with auto-suggestions

As a developer, I would like to add a list of strings to an Episerver page. Each string has to have auto-suggestion enabled in the editor interface, so that an editor can select an option from the list instead of writing ot completely.

Ideally it would look like this:

[AutoSuggestSelection(typeof(MySelectionQuery))]
public virtual ICollection<string> ListOfStrings { get; set; }

This piece of property code compiles fine. But when rendering the property in All-Properties View, it looks like a single-string property with autosuggest. When I select something and click outside the field, an error pops up (because a single value cannot be casted to the list of strings).

I would like to see see string list property as rendered here.