feat(registration): support next input element with ENTER key
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f5b03a8a0
commit
066e67c64f
@ -101,6 +101,11 @@
|
||||
<label for="firstname" class="block text-lg font-bold mb-2 sr-only">Vorname</label>
|
||||
<div class="relative">
|
||||
<input
|
||||
on:keydown={(e) => {
|
||||
if (e.keyCode === 13) {
|
||||
document.getElementById('lastname')?.focus();
|
||||
}
|
||||
}}
|
||||
type="text"
|
||||
id="firstname"
|
||||
name="firstname"
|
||||
|
Loading…
x
Reference in New Issue
Block a user