Greetings. I'm new to these components and am trying to utilize the in-place editor dropdown component. This is a simple issue. I'm getting an intelli-sense and compile error when assigning the DataSource property for the DropDownListModel class.
public DropDownListModel<string> DropdownData = new DropDownListModel<string>()
{
Placeholder = "Select Category",
DataSource = new string[] { "Australia", "Bermuda", "Canada", "Cameroon", "Denmark", "Finland", "Greenland", "Poland" }
};
Basically it says, 'DropDownListModel<string>' does not contain a definition for 'DataSource'.
I don't have any issues assigning the Placeholder property. When looking at the class definition for DropDownListModel, I don't see any definition for a DataSource property. I simply copied and pasted from the examples provided in documentation.
Thank you,