New to KendoReactLearn about KendoReact Free.

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 onChange event.
  3. Pass the new value through the props.

The following example demonstrates how to control the DatePicker value and display it an outer field.

Change Theme
Theme
Loading ...

Controlling the Popup State

To manage the popup state of the DatePicker, use its show property.

The following example demonstrates how to toggle the calendar of the DatePicker by controlling the state of its popup through an external input.

Change Theme
Theme
Loading ...