AutoCompleteProps

Represents the props of the KendoReact AutoComplete component.

accessKey? string

Specifies the accessKey of the AutoComplete.

className? string

Sets additional classes to the AutoComplete.

data? any[]

Sets the data of the AutoComplete (more information and example).

defaultValue? string

Sets the default value of the AutoComplete. Similar to the native input HTML element.

dir? string

Represents the dir HTML attribute.

disabled? boolean

Sets the disabled state of the AutoComplete.

Sets the footer component of the AutoComplete (see example).

header? React.ReactNode

Sets the header component of the AutoComplete (see example).

itemRender? (li: ReactElement<HTMLLIElement>, itemProps: ListItemProps) => React.ReactNode

Fires when an AutoComplete list item is about to be rendered (see example). Used to override the default appearance of the list items.

label? string

Renders a floating label for the AutoComplete.

listNoDataRender? (element: ReactElement<HTMLDivElement>) => React.ReactNode

Fires when the element which indicates no data in the popup is about to be rendered (see example). Used to override the default appearance of the element.

loading? boolean

Sets the loading state of the AutoComplete (see example).

name? string

Specifies the name property of the input DOM element.

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

onBlur? (event: AutoCompleteBlurEvent) => void

Fires each time the AutoComplete gets blurred.

onChange? (event: AutoCompleteChangeEvent) => void

Fires each time the value of the AutoComplete is about to change (more information and example).

onClose? (event: AutoCompleteCloseEvent) => void

Fires each time the popup of the AutoComplete is about to close.

onFocus? (event: AutoCompleteFocusEvent) => void

Fires each time the user focuses the AutoComplete.

onOpen? (event: AutoCompleteOpenEvent) => void

Fires each time the popup of the AutoComplete is about to open.

opened? boolean

Sets the opened and closed state of the AutoComplete.

placeholder? string

The hint that is displayed when the AutoComplete is empty.

popupSettings? DropDownsPopupSettings

Configures the popup of the AutoComplete.

readonly? boolean

Sets the read-only state of the AutoComplete.

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:

style? CSSProperties

The styles that are applied to the AutoComplete.

suggest? boolean | string

Enables the auto-completion of the text based on the first data item (see example).

tabIndex? number

Specifies the tabIndex of the AutoComplete.

textField? string

Sets the data item field that represents the item text (see example). If the data contains only primitive values, do not define it.

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? string

Sets the value of the AutoComplete (more information and example).

 /