Skip to content

Commit

Permalink
fix(VOtpInput): update otp when value changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPez committed Nov 25, 2021
1 parent ca4cbda commit dbe566b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VOtpInput/VOtpInput.ts
Original file line number Diff line number Diff line change
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 dbe566b

Please sign in to comment.