NumericTextBoxProps

Represents the props of the KendoReact NumericTextBox component.

accessKey? string

Specifies the accessKey of the NumericTextBox.

className? string

Sets a class of the NumericTextBox DOM element.

defaultValue? number | null

Specifies the initial value. Leaves the subsequent updates uncontrolled.

dir? string

Represents the dir HTML attribute.

disabled? boolean

Determines whether the NumericTextBox is disabled.

format? string | NumberFormatOptions

Specifies the number format which is used for formatting the value (see example). If set to null or undefined, the default format will be used.

id? string

Sets the id of the input DOM element.

inputType? NumericTextBoxInputType

Sets the type of the input DOM element.

The available options are:

  • (Default) tel
  • text

label? string

Renders a floating label for the NumericTextBox.

max? number

Specifies the greatest value that can be entered.

min? number

Specifies the smallest value that can be entered.

name? string

Specifies the name of the input DOM element.

onChange? (event: NumericTextBoxChangeEvent) => void

Determines the event handler that will be fired when the user edits the value.

placeholder? string

Specifies the input placeholder.

required? boolean

Specifies if null is a valid value for the component.

For runnable examples on forms support, refer to the documentation of the respective form component:

spinners? boolean

Specifies whether the Up and Down spin buttons will be rendered (see example).

step? number

Specifies the value that is used to increment or decrement the value of the NumericTextBox (see example).

tabIndex? number

Sets the tabIndex property of the NumericTextBox.

title? string

Sets the title of the input element of the NumericTextBox.

valid? boolean

Overrides the validity state of the component. If valid is set, the required property will be ignored.

For runnable examples on forms support, refer to the documentation of the respective form component:

validationMessage? string

Controls the form error message of the component. If set to an empty string, no error will be thrown.

For runnable examples on forms support, refer to the documentation of the respective form component:

validityStyles? boolean

If set to false, no visual representation of the invalid state of the component will be applied.

For runnable examples on forms support, refer to the documentation of the respective form component:

value? number | null

Specifies the value of the NumericTextBox.

width? number | string

Specifies the width of the NumericTextBox.

 /