Skip to content

InputOTP Events ​

update:modelValue ​

Emitted when the value changes.

complete ​

Emitted when all slots are filled.

change ​

Emitted when the value changes.

select ​

Emitted when an item is selected.

input ​

Emitted on each keystroke.

focus ​

Emitted when the input gains focus.

blur ​

Emitted when the input loses focus.

mouseover ​

Emitted when the pointer enters the element.

mouseleave ​

Emitted when the pointer leaves the element.

paste ​

Emitted when the user pastes into the input.