Skip to content

Commit

Permalink
fix(VOtpInput): update the otp when value changes (#14460)
Browse files Browse the repository at this point in the history
fixes #14437
  • Loading branch information
TheoPez committed Dec 27, 2021
1 parent 74ec950 commit c58f02a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VOtpInput/VOtpInput.ts
Expand Up @@ -75,6 +75,7 @@ export default baseMixins.extend<options>().extend({
isFocused: 'updateValue',
value (val) {
this.lazyValue = val
this.otp = val?.split('') || []
},
},

Expand Down

0 comments on commit c58f02a

Please sign in to comment.