Set autofocus on field

This commit is contained in:
Dain Nilsson 2024-03-07 09:38:09 +01:00
parent 442714ac29
commit a397ce3215
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -127,6 +127,7 @@ class _ConfigureHotpDialogState extends ConsumerState<ConfigureHotpDialog> {
key: keys.secretField,
controller: _secretController,
obscureText: _isObscure,
autofocus: true,
autofillHints: isAndroid ? [] : const [AutofillHints.password],
decoration: AppInputDecoration(
border: const OutlineInputBorder(),