MatAutocomplete

Base class for any input control that optionally supports an .

Name Type Description
TValue Generic argument
TItem Generic argument
Attributes Dictionary<String,Object> Gets or sets a collection of additional attributes that will be applied to the created element.
Box Boolean
ChildContent RenderFragment Child content of MatAutocomplete
Class String Specifies one or more classnames for an DOM element.
Dense Boolean
Disabled Boolean
Format String
FullWidth Boolean
HelperText String
HelperTextPersistent Boolean
HelperTextValidation Boolean
HideClearButton Boolean
Icon String
IconOnClick EventCallback<MouseEventArgs>
IconTrailing Boolean
Id String
InputAttributes IDictionary<String,Object>
InputClass String Css class of input element
InputStyle String Style attribute of input element
Items IEnumerable<TItem>
ItemTemplate RenderFragment<TItem> ItemTemplate is used to render the elements in the popup if no template is given then the string value of the objects is displayed..
ItemValueSelector Func<TItem,TValue> This function is used to select the string part from the item, used both for filtering and displaying if no ItemTemplate is defined.
Label String
NumberOfElementsInPopup Nullable<Int32> Maximum number of elements displayed in the popup
OnFocus EventCallback<FocusEventArgs>
OnFocusOut EventCallback<FocusEventArgs>
OnInput EventCallback<ChangeEventArgs>
OnKeyDown EventCallback<KeyboardEventArgs>
OnKeyPress EventCallback<KeyboardEventArgs>
OnKeyUp EventCallback<KeyboardEventArgs>
Outlined Boolean
PlaceHolder String
ReadOnly Boolean When true, it specifies that an input field is read-only.
RefBack ForwardRef
Required Boolean
Style String Specifies an inline style for an DOM element.
TextArea Boolean
Type String
ValidationDisabled Boolean
Value TValue Gets or sets the value of the input. This should be used with two-way binding.
ValueChanged EventCallback<TValue> Gets or sets a callback that updates the bound value.
ValueExpression Expression<Func<TValue>> Gets or sets an expression that identifies the bound value.
Ref ElementReference Returned ElementRef reference for DOM element.

This component is in progress, use MatAutocompleteList instead!

Example
If you like MatBlazor, please put a star on GitHub.