pin code input supports pressing enter to confirm and pressing tab to switch to the next component

This commit is contained in:
MaysWind
2025-01-04 16:33:33 +08:00
parent af9aa726f4
commit d18e6df1c0
5 changed files with 21 additions and 5 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
<v-row>
<v-col cols="12">
<pin-code-input :disabled="verifyingByWebAuthn" :autofocus="true"
:secure="true" :length="6"
:secure="true" :length="6" :auto-confirm="true"
v-model="pinCode" @pincode:confirm="unlockByPin" />
</v-col>