AutoComplete

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

Screenshot #

Blazor AutoComplete Component

Parameters #

Name Type Default Required Description Added Version
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 1.0.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 1.0.0
DataProvider AutoCompleteDataProviderDelegate<object?>? null Gets or sets the data provider. 1.0.0
Disabled bool False Gets or sets the disabled state. 1.0.0
EmptyText string No records found. Gets or sets the empty text. 1.0.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 1.0.0
LoadingText string Loading... Gets or sets the loading text. 1.0.0
Placeholder string? null Gets or sets the placeholder. 1.0.0
PropertyName string? null Gets or sets the property name. 1.0.0
Size AutoCompleteSize Default Gets or sets the autocomplete size. 1.0.0
StringComparison StringComparison OrdinalIgnoreCase Gets or sets the StringComparison. 1.0.0
StringFilterOperator string Contains Gets or sets the string filter operator. 1.0.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 1.0.0
Value string? null Gets or sets the value. 1.0.0
ValueExpression Expression<Func<string?>>? null Gets or sets the value expression. 1.0.0

Methods #

Name Return type Description Added Version
Disable() Void Disables autocomplete. 1.0.0
Enable() Void Enables autocomplete. 1.0.0
RefreshDataAsync() Task Refresh the autocomplete data. 1.0.0
ResetAsync() Task Resets the autocomplete selection. 1.0.0

Events #

Name Return Type Description Added Version
OnChanged EventCallback<object?> This event fires immediately when the autocomplete selection changes by the user. 1.0.0
ValueChanged EventCallback<string> This is event fires on every user keystroke that changes the textbox value. 1.0.0

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.