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

Controlled Mode

By default, the DatePicker is in an uncontrolled state.

The DatePicker provides options for:

Controlling the Date Value

To manage the date value of the DatePicker:

  1. Use its value property.
  2. Handle the change event.
  3. Pass the new value through the props.

The following example demonstrates how to control the DatePicker value.

Example
View Source
Change Theme:

Controlling the Popup State

To manage the popup state of the DatePicker, use its show property, to set the shown state of the component.

The following example demonstrates how to control the state of the DatePicker calendar upon display.

Example
View Source
Change Theme: