You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to the codepen and instead of typing values into the 6 OTP input fields, copy/paste(!) a 6-digit-long number into the OTP field (put the cursor into the first OTP digit field, then paste with ctrl+v).
The linked model (otpValue in the example) output below the v-otp-input is not updated. The model only updates if you enter a number value into the OTP fields one-by-one. Copy/paste does not work. Interestingly copy/paste also does not trigger the "changed" event, but it does trigger the "complete" event.
Expected Behavior
When copy/pasting values into the v-otp-input, the linked model (otpValue in the example) should be updated accordingly.
Actual Behavior
When copy/pasting values into the v-otp-input, the linked model (otpValue in the example) does not get updated.
This bug might look related to #14437 but it's different and the other way around, also explicitly related to copy/pasting values into the v-otp-input.
The text was updated successfully, but these errors were encountered:
Environment
Vuetify Version: 2.6.1
Vue Version: 2.6.11
Browsers: Chrome 96.0.4664.45
OS: Linux x86_64
Steps to reproduce
Go to the codepen and instead of typing values into the 6 OTP input fields, copy/paste(!) a 6-digit-long number into the OTP field (put the cursor into the first OTP digit field, then paste with ctrl+v).
The linked model (
otpValue
in the example) output below thev-otp-input
is not updated. The model only updates if you enter a number value into the OTP fields one-by-one. Copy/paste does not work. Interestingly copy/paste also does not trigger the "changed" event, but it does trigger the "complete" event.Expected Behavior
When copy/pasting values into the
v-otp-input
, the linked model (otpValue
in the example) should be updated accordingly.Actual Behavior
When copy/pasting values into the
v-otp-input
, the linked model (otpValue
in the example) does not get updated.Reproduction Link
https://codepen.io/the0pe/pen/vYJoYJb
Other comments
This bug might look related to #14437 but it's different and the other way around, also explicitly related to copy/pasting values into the
v-otp-input
.The text was updated successfully, but these errors were encountered: