Make two factor code input field trigger a numeric keyboard on phones.

This commit is contained in:
flash 2022-12-12 15:49:23 +00:00
parent 1ca0d6ce20
commit 4087c23199

View file

@ -27,7 +27,7 @@
Code
</div>
<div class="auth__label__value">
{{ input_text('twofactor[code]', 'input__text--monospace input__text--centre auth__label__input', '', 'text', '', true, {'maxlength':6}, 1) }}
{{ input_text('twofactor[code]', 'input__text--monospace input__text--centre auth__label__input', '', 'text', '', true, {'maxlength': 6, 'inputmode': 'numeric'}, 1) }}
</div>
</label>