Just upgrade to v3.1.1. from v3.0.1.
Calling Prompt.Select<T>() with an enum type throws System.ArgumentNullException: Value cannot be null. (Parameter 'Items').
This worked previously (v3.0.1.):
var selected = Prompt.Select<MyEnum>("Pick one");
Explicitly passing Enum values also works now (v3.1.1.):
var selected = Prompt.Select("Pick one", Enum.GetValues<MyEnum>());
Is this intended behavior?
Just upgrade to v3.1.1. from v3.0.1.
Calling
Prompt.Select<T>()with an enum type throwsSystem.ArgumentNullException: Value cannot be null. (Parameter 'Items').This worked previously (v3.0.1.):
Explicitly passing Enum values also works now (v3.1.1.):
Is this intended behavior?