We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d668d6f + fc91e6d commit 9be245cCopy full SHA for 9be245c
packages/vuetify/src/components/VOtpInput/VOtpInput.tsx
@@ -198,7 +198,7 @@ export const VOtpInput = genericComponent<VOtpInputSlots>()({
198
199
model.value = clipboardText.split('')
200
201
- inputRef.value?.[finalIndex].focus()
+ focusIndex.value = finalIndex
202
}
203
204
function reset () {
@@ -234,7 +234,6 @@ export const VOtpInput = genericComponent<VOtpInputSlots>()({
234
235
watch(model, val => {
236
if (val.length === length.value) {
237
- focusIndex.value = length.value - 1
238
emit('finish', val.join(''))
239
240
}, { deep: true })
0 commit comments