New to Kendo UI for VueStart a free 30-day trial

Represents the props of the Kendo UI for Vue AutoComplete component.

Definition

Package:@progress/kendo-vue-dropdowns

Properties

Specifies the accessKey of the AutoComplete.

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.

Defines the aria-label attribute of the component.

Identifies the element(s) which will label the component.

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

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.

fillMode?

"solid" | "outline" | "flat"

Configures the fillMode of the AutoComnplete.

The available options are:

  • solid
  • outline
  • flat
Default:

undefined

If set, the AutoComplete will use it to get the focused item index.

Default functionality returns the first item which starts with the input text.

Parameters:dataanyinputTextstringtextField?stringReturns:

number

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

Sets the data item field that represents the start of a group. Applicable to objects data.

Fires when a AutoComplete group header item is about to be rendered. Used to override the default appearance of the group's headers.

Fires when a AutoComplete sticky group header item is about to be rendered. Used to override the default appearance of the sticky group header of the component.

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

id?

string

Specifies the id of the component.

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

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.

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).

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

name?

string

Specifies the name property of the input DOM element.

Fires each time the AutoComplete gets blurred.

Parameters:eventAutoCompleteBlurEvent

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

Parameters:eventAutoCompleteChangeEvent

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

Parameters:eventAutoCompleteCloseEvent

Fires each time the user focuses the AutoComplete.

Parameters:eventAutoCompleteFocusEvent

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

Parameters:eventAutoCompleteOpenEvent

opened?

boolean

Sets the opened and closed state of the AutoComplete.

The hint that is displayed when the AutoComplete is empty.

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.

rounded?

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

Configures the roundness of the AutoComnplete.

The available options are:

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

undefined

size?

"small" | "medium" | "large"

Configures the size of the AutoComnplete.

The available options are:

  • small
  • medium
  • large
Default:

undefined

suggest?

string | boolean

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

tabIndex?

number

Specifies the tabIndex of the AutoComplete.

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.

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

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

value?

string

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