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

Controlled Mode

Updated on Jun 24, 2026

By default, the Kendo UI for Vue OTPInput operates in uncontrolled mode and manages its own internal value state.

Controlling the Value

To place the OTPInput in controlled mode you have two options:

  1. Use v-model and assign the value to it.

or:

  1. Set its value property.
  2. Handle the onChange event and update the value in your component state.

The following example demonstrates controlled mode, including programmatic value setting and clearing via buttons.

Change Theme
Theme
Loading ...
In this article
Controlling the ValueSuggested Links
Not finding the help you need?
Contact Support