EnumInput


This documentation provides a comprehensive reference for the EnumInput component, guiding you through its configuration options.

Demos

Parameters #

Name Type Default Required Description Added Version
Class string null Gets or sets the CSS class. 1.0.0
Color EnumInputColor None Gets or sets the color. 1.0.0
ContainerCssClass string null Gets or sets the CSS class for the container element. 1.0.0
ContainerCssStyle string null Gets or sets the CSS style for the container element. 1.0.0
Disabled bool False Gets or sets the disabled state. 1.0.0
Id string null Gets or sets the ID. If not set, a unique ID will be generated. 1.0.0
IsRounded bool False If true, the rounded variant will be enabled. 1.0.0
Size EnumInputSize None Gets or sets the size. 1.0.0
State EnumInputState None Gets or sets the state. 1.0.0
Style string null Gets or sets the CSS style. 1.0.0
Text string null Gets or sets the text. 1.0.0
TextExpression Expression<Func<string>>? null Gets or sets the expression. 1.0.0
Value int 0 Gets or sets the value. 1.0.0
ValueExpression Expression<Func<int>> null Gets or sets the expression. 1.0.0

Methods #

Name Return type Description Added Version
Disable() Void Disables the EnumInput. 1.0.0
Enable() Void Enables the EnumInput. 1.0.0

Events #

Name Return Type Description Added Version
TextChanged EventCallback<string> This event fires when the EnumInput text changes. 1.0.0
ValueChanged EventCallback<int> This event fires when the EnumInput value changes. 1.0.0