FormComponentWithAutoComplete<T> Class

Base class for form input components that support browser autocomplete functionality. Extends FormComponent<T> with properties for controlling browser autocomplete behavior and ARIA autocomplete attributes. Used by input components like RadzenTextBox, RadzenPassword, RadzenNumeric, and RadzenMask. Provides standardized autocomplete behavior for better integration with browser password managers and autofill features.

Inheritance

Object

ComponentBase

RadzenComponent

FormComponent<T>

FormComponentWithAutoComplete<T>

Implements

IComponent

IHandleEvent

IHandleAfterRender

IRadzenFormComponent

Inherited Members

FormComponent<T>.Dispose

FormComponent<T>.GetValue

FormComponent<T>.OnContextMenu

FormComponent<T>.GetClassList

FormComponent<T>.FocusAsync

FormComponent<T>.Name

FormComponent<T>.TabIndex

FormComponent<T>.Placeholder

FormComponent<T>.Disabled

FormComponent<T>.EditContext

FormComponent<T>.Form

FormComponent<T>.ValueChanged

FormComponent<T>.HasValue

FormComponent<T>.IsBound

FormComponent<T>.Value

FormComponent<T>.Change

FormComponent<T>.FieldIdentifier

FormComponent<T>.ValueExpression

FormComponent<T>.FormFieldContext

FormComponent<T>.CurrentPlaceholder

FormComponent<T>._value

RadzenComponent.OnMouseEnter

RadzenComponent.OnMouseLeave

RadzenComponent.GetCssClass

RadzenComponent.GetId

RadzenComponent.GetComponentCssClass

RadzenComponent.Debounce

RadzenComponent.OnInitialized

RadzenComponent.OnAfterRenderAsync

RadzenComponent.RaiseContextMenu

RadzenComponent.RaiseMouseEnter

RadzenComponent.AddContextMenu

RadzenComponent.RaiseMouseLeave

RadzenComponent.OnBecameInvisible

RadzenComponent.Attributes

RadzenComponent.Element

RadzenComponent.MouseEnter

RadzenComponent.MouseLeave

RadzenComponent.ContextMenu

RadzenComponent.Culture

RadzenComponent.DefaultCulture

RadzenComponent.Style

RadzenComponent.Visible

RadzenComponent.UniqueID

RadzenComponent.JSRuntime

RadzenComponent.IsJSRuntimeAvailable

RadzenComponent.Reference

RadzenComponent.CurrentStyle

ComponentBase.BuildRenderTree

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class FormComponentWithAutoComplete<T> : FormComponent<T>, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent

Type Parameters

Name Description
TThe type of the form component's value.

Constructors

FormComponentWithAutoComplete<T>link

Base class for form input components that support browser autocomplete functionality. Extends FormComponent<T> with properties for controlling browser autocomplete behavior and ARIA autocomplete attributes. Used by input components like RadzenTextBox, RadzenPassword, RadzenNumeric, and RadzenMask. Provides standardized autocomplete behavior for better integration with browser password managers and autofill features.

Declaration
public FormComponentWithAutoComplete<T>()

Properties

AriaAutoCompleteAttributelink

Gets the aria-autocomplete attribute's string value.

Declaration
public string AriaAutoCompleteAttribute { get; }
Property Value
Type Description
stringGets the aria-autocomplete attribute's string value.

AutoCompleteAttributelink

Gets the autocomplete attribute's string value.

Declaration
public string AutoCompleteAttribute { get; }
Property Value
Type Description
stringGets the autocomplete attribute's string value.

AutoCompleteTypelink

Gets or sets the browser autocomplete behavior for this input field. Controls whether browsers should offer to autofill this field based on user history or saved data. Common values include On (enable), Off (disable), Username, CurrentPassword, Email, etc.

Declaration
public AutoCompleteType AutoCompleteType { get; set; }
Property Value
Type Description
AutoCompleteTypeGets or sets the browser autocomplete behavior for this input field. Controls whether browsers should offer to autofill this field based on user history or saved data. Common values include On (enable), Off (disable), Username, CurrentPassword, Email, etc.

DefaultAriaAutoCompleteAttributelink

Gets or sets the default aria-autocomplete attribute's string value.

Declaration
public string DefaultAriaAutoCompleteAttribute { get; set; }
Property Value
Type Description
stringGets or sets the default aria-autocomplete attribute's string value.

DefaultAutoCompleteAttributelink

Gets or sets the default autocomplete attribute's string value.

Declaration
public string DefaultAutoCompleteAttribute { get; set; }
Property Value
Type Description
stringGets or sets the default autocomplete attribute's string value.

Methods

SetParametersAsynclink

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙