New to Kendo UI for Vue? Start a free 30-day trial

InputProps

Represents the props of the KendoVue Input component. Extends the native input props.

defaultValue?

string | string[] | number | undefined

dir?

string

id?

string

Renders a floating label for the Input component.

label?

string

modelValue?

string | number

name?

string

Specifies the name property of the input DOM element.

This property is part of the FormComponentProps interface.

onBlur?

(event: any) => void

onChange?

Element

onFocus?

(event: any) => void

placeholder?

string

Specifies the placeholder of an input element. Used to define if the input is empty.

required?

boolean

Specifies if null is a valid value for the component.

This property is part of the FormComponentProps interface.

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.

validate?

boolean

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 | string[] | number