InputEnumSelect<TEnum> Class

A select input component for editing enum values.

public sealed class InputEnumSelect<TEnum> : InputBase<TEnum>

Type parameters

TEnum
The enum type. Can be nullable to allow no selection.

Remarks

This component automatically generates option elements for each enum value. Display names can be customized using the DisplayAttribute on enum members.

Inheritance
InputBase<TEnum> InputEnumSelect<TEnum>

Constructors

NameDescription
InputEnumSelect()

InputEnumSelect()

InputEnumSelect.cs
public InputEnumSelect()

No documentation is available.

Properties

NameDescription
EmptyOptionTextGets or sets the text of the empty option rendered for nullable enum types. Defaults to an empty string.

EmptyOptionText

InputEnumSelect.cs

Gets or sets the text of the empty option rendered for nullable enum types. Defaults to an empty string.

public string EmptyOptionText { get; set; }

Property value

string