From c58f02a4da36c79c136fefbbfbdcdb357a2f70d0 Mon Sep 17 00:00:00 2001 From: TheoPez <47640901+TheoPez@users.noreply.github.com> Date: Mon, 27 Dec 2021 09:47:03 +0100 Subject: [PATCH] fix(VOtpInput): update the `otp` when `value` changes (#14460) fixes #14437 --- packages/vuetify/src/components/VOtpInput/VOtpInput.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vuetify/src/components/VOtpInput/VOtpInput.ts b/packages/vuetify/src/components/VOtpInput/VOtpInput.ts index 37e23e92a80..bf4d02e2421 100644 --- a/packages/vuetify/src/components/VOtpInput/VOtpInput.ts +++ b/packages/vuetify/src/components/VOtpInput/VOtpInput.ts @@ -75,6 +75,7 @@ export default baseMixins.extend().extend({ isFocused: 'updateValue', value (val) { this.lazyValue = val + this.otp = val?.split('') || [] }, },