-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
when using a list-setting:
<list-setting text=" " options="EnumTypeOptions" />versus using a dropdown-list-setting:
<dropdown-list-setting text=" " options="EnumTypeOptions" />with the following on a view controller:
public Array EnumTypeOptions { get; } = Enum.GetValues(typeof(EnumType));and example enum:
public enum EnumType
{
None,
Some,
Many
}the problem with this is that the initial value for the list setting will be 10 instead of the default which you would expect to be None. when using the dropdown list setting, the default value will be None which raises the question of is the list setting not setting the correct default value?
Metadata
Metadata
Assignees
Labels
No labels