Input
Represents the KendoReact Input component.
Accepts properties of type InputProps.
Obtaining the ref returns an object of type InputHandle.
Definition
Package:@progress/kendo-react-inputs
Properties Interface:InputProps
Properties
ariaDescribedBy?
string
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.
ariaLabel?
string
Defines a string value that labels an interactive element.
ariaLabelledBy?
string
Identifies the element(s) which will label the component.
autoFocus?
boolean
Represents the autoFocus HTML attribute that will be applied to the input element of the Input. (Defaults to false)
defaultValue?
string | string[]
Represents the Input default value.
label?
ReactNode
Renders a floating label for the Input component.
labelClassName?
string
Sets a className for the floating label.
onChange?
(event: InputChangeEvent) => void
Triggered after value change.
valid?
boolean
Overrides the validity state of the component.
If valid is set, the required property will be ignored.
This property is part of the FormComponentProps interface.
validationMessage?
string
Controls the form error message of the component. If set to an empty string, no error will be thrown.
This property is part of the FormComponentProps interface.
validityStyles?
boolean
If set to false, no visual representation of the invalid state of the component will be applied.
This property is part of the FormComponentProps interface.
value?
string | number | string[]
Represents the Input value.
References
Represent the ref target of the Input component.