New to KendoReactStart a free 30-day trial

TextBoxProps

Interface

Represents the properties of the KendoReact TextBox component

Definition

Package:@progress/kendo-react-inputs

Properties

autoFocus?

boolean

Represents the autoFocus HTML attribute that will be applied to the input element of the TextBox. (Defaults to false)

fillMode?

"flat" | "solid" | "outline"

Configures the fillMode of the TextBox.

The available options are:

  • solid
  • outline
  • flat
Default:

solid

inputAttributes?

InputHTMLAttributes​<HTMLInputElement>

Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.

The onChange callback of the input element inside the TextBox.

Parameters:eventTextBoxChangeEvent

prefix?

CustomComponent​<any>

Sets a custom prefix to the TextBox component.

rounded?

"small" | "medium" | "large" | "none" | "full"

Configures the roundness of the TextBox.

The available options are:

  • small
  • medium
  • large
  • full
  • none
Default:

medium

size?

"small" | "medium" | "large"

Configures the size of the TextBox.

The available options are:

  • small
  • medium
  • large
Default:

medium

suffix?

CustomComponent​<any>

Sets a custom suffix to the TextBox component.

valid?

boolean

Indicates if the component is in valid state

webMcp?

boolean | WebMcpProps

Enables Web MCP tool registration for this component. Requires a parent WebMcpProvider from @progress/kendo-react-webmcp.

Pass true for defaults or an object for fine-grained control. When absent or false, zero webMcp overhead.