TextAreaInput

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

Screenshot #

Blazor TextAreaInput 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. 3.3.0
AutoComplete bool False Gets or sets whether browser autocomplete is enabled. When true, the browser may offer saved values for the text area. 3.3.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 3.3.0
Cols int? null Gets or sets the visible width of the text area in columns. 3.3.0
Disabled bool False Gets or sets whether the text area is disabled. When true, users cannot change its value. 3.3.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 3.3.0
MaxLength int? null Gets or sets the maximum number of characters users can enter. Additional input is prevented when the limit is reached. 3.3.0
Placeholder string? null Gets or sets placeholder text displayed when the text area has no value. 3.3.0
Rows int? null Gets or sets the visible height of the text area in rows. 3.3.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 3.3.0
TextAlignment Alignment None Gets or sets the horizontal alignment of the text area value. 3.3.0
Value string null Gets or sets the current text value bound to the text area. 3.3.0
ValueExpression Expression<Func<string>> null Gets or sets the expression that identifies the bound value for validation and EditContext notifications. 3.3.0

Methods #

Name Return type Description Added Version
Disable() Void Disables the text area so users cannot change its value. 3.3.0
Enable() Void Enables the text area so users can change its value. 3.3.0

Events #

Name Return Type Description Added Version
ValueChanged EventCallback<string> Fires whenever user input changes the text area value. 3.3.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.