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

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

Definition

Package:@progress/kendo-vue-dateinputs

Properties

Specifies the validate of the DatePicker.

Enables the customization or the override of the default Calendar which is rendered by the DatePicker (see example).

Enables the customization or the override of the default DateInput which is rendered by the DatePicker (see example).

Sets the default state of the DatePicker upon render (see example).

Sets the default value of the DatePicker (see example).

disabled?

boolean

Determines whether the DatePicker is disabled (see example).

fillMode?

string

Configures the fillMode of the TimeInput.

The available options are:

  • solid
  • outline
  • flat
  • link
  • null—Does not set a fillMode class.
Default:

solid

Specifies the focused date of the DatePicker (see example).

format?

string | DateFormatOptions

Specifies the date format that is used to display the input value (see example).

Defines the descriptions of the format sections in the input field (more information and examples).

id?

string

Specifies the id of the DatePicker.

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

label?

string

Renders a floating label for the DatePicker.

max?

Date

Specifies the greatest valid date (see example).

min?

Date

Specifies the smallest valid date (see example).

name?

string

Specifies the name property of the input DOM element.

onBlur?

(event: any) => void

Fires each time any of the DatePicker elements gets blurred.

Parameters:eventany

Fires each time the user selects a new value (see example).

Parameters:eventDatePickerChangeEvent

onFocus?

(event: any) => void

Fires each time the user focuses any of the DatePicker elements.

Parameters:eventany

onIconclick?

(event: any) => void

Fires when the icon element is clicked.

Parameters:eventany

Enables the customization or the override of the default wrapping component around the DateInput and ToggleButton rendered by the DatePicker (see example).

Specifies the value of the placeholder.

Enables the customization or the override of the default Popup which is rendered by the DatePicker (see example).

Configures the popup options of the DatePicker.

The available options are:

  • animate: Boolean—Controls the popup animation. By default, the open and close animations are enabled.
  • appendTo: — Defines the container to which the Popup will be appended. Defaults to body.
  • popupClass: String—Specifies a list of CSS classes that are used to style the popup.

required?

boolean

Specifies if null is a valid value for the component.

rounded?

string

Configures the roundness of the TimeInput.

The available options are:

  • small
  • medium
  • large
  • circle
  • full
  • null—Does not set a rounded class.
Default:

medium

show?

boolean

Specifies if the calendar will be displayed (see example).

size?

"small" | "medium" | "large"

Configures the size of the TimeInput.

The available options are:

  • small
  • medium
  • large
  • null—Does not set a size class.
Default:

medium

tabIndex?

number

Sets the tabIndex property of the DatePicker.

title?

string

Sets the title of the input element of the DatePicker.

Enables the customization or the override of the default Toggle button which is rendered by the DatePicker (see example).

valid?

boolean

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

validate?

boolean

Specifies the validate of the DatePicker.

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?

Date

Specifies the value of the DatePicker (see example).

The value has to be a valid JavaScript Date instance.

Determines whether to display a week number column in the month view of the Calendar (see example).

width?

string | number

Specifies the width of the DatePicker.