Remove autofocus

This commit is contained in:
Godwin Asuquo 2023-02-23 18:03:44 +02:00
parent 44b1eec81d
commit bba0ce2ec6
2 changed files with 0 additions and 2 deletions

View file

@ -58,7 +58,6 @@ class AddressTextField extends StatelessWidget {
TextFormField( TextFormField(
onFieldSubmitted: (_) => FocusScope.of(context).unfocus(), onFieldSubmitted: (_) => FocusScope.of(context).unfocus(),
enabled: isActive, enabled: isActive,
autofocus: true,
controller: controller, controller: controller,
focusNode: focusNode, focusNode: focusNode,
style: textStyle ?? style: textStyle ??

View file

@ -64,7 +64,6 @@ class BaseTextFormField extends StatelessWidget {
readOnly: readOnly, readOnly: readOnly,
initialValue: initialValue, initialValue: initialValue,
focusNode: focusNode, focusNode: focusNode,
autofocus: true,
controller: controller, controller: controller,
keyboardType: keyboardType, keyboardType: keyboardType,
textInputAction: textInputAction, textInputAction: textInputAction,