feat: focus back on passcode input after failure

This commit is contained in:
Baptiste Grob
2021-04-16 12:20:24 +02:00
parent 465a6b55a0
commit 729a1a8dfd
2 changed files with 18 additions and 11 deletions

View File

@@ -200,12 +200,13 @@
)
.sk-panel-row
input.sk-input.contrast(
ng-model='self.state.formData.passcode',
placeholder='Passcode',
should-focus='true',
sn-autofocus='true',
ng-ref='self.passcodeInput'
ng-model='self.state.formData.passcode'
placeholder='Passcode'
should-focus='true'
sn-autofocus='true'
type='password'
)
)
input.sk-input.contrast(
ng-model='self.state.formData.confirmPasscode',
placeholder='Confirm Passcode',