MatBlazor - Material Design components for Blazor and Razor Components

MatSelect

Selects allow users to select from a single-option menu. It functions as a wrapper around the browser's native select element.

Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Child content of MatSelect
Class String Specifies one or more classnames for an DOM element.
Disabled Boolean
Enhanced Boolean
HelperText String
HelperTextPersistent Boolean
HelperTextValidation Boolean
HideDropDownIcon Boolean
Icon String
IconOnClick EventCallback<MouseEventArgs>
Id String
Label String
OnFocus EventCallback<FocusEventArgs>
OnFocusOut EventCallback<FocusEventArgs>
OnInput EventCallback<ChangeEventArgs>
OnKeyDown EventCallback<KeyboardEventArgs>
OnKeyPress EventCallback<KeyboardEventArgs>
OnKeyUp EventCallback<KeyboardEventArgs>
Outlined Boolean
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Value String
ValueChanged EventCallback<String>
Ref ElementReference Returned ElementRef reference for DOM element.
MatOption
Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Child content of MatOption
Class String Specifies one or more classnames for an DOM element.
Disabled Boolean
Id String
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Value String
Ref ElementReference Returned ElementRef reference for DOM element.
Enhanced
  • Bread, Cereal, Rice, and Pasta
  • Vegetables
  • Fruit
Normal
Helper Text

Outlined
Disabled
Disabled Option
If you like MatBlazor, please put a star on GitHub.