TF-129 Fix bug after select a recipient, focus should still in the same field
This commit is contained in:
@@ -53,6 +53,7 @@ class TextFieldBuilder {
|
||||
onChanged: _onTextChange,
|
||||
cursorColor: AppColor.primaryColor,
|
||||
controller: _textController,
|
||||
autocorrect: false,
|
||||
textInputAction: _textInputAction,
|
||||
decoration: _inputDecoration,
|
||||
maxLines: _maxLines,
|
||||
|
||||
@@ -120,6 +120,7 @@ class EmailAddressComposerWidgetBuilder {
|
||||
? keyToEmailAddress
|
||||
: Key('${prefixEmailAddress.toString()}_email_address_input'),
|
||||
initialValue: _getListEmailAddressCurrent(prefixEmailAddress),
|
||||
autofocus: prefixEmailAddress == PrefixEmailAddress.to ? true : false,
|
||||
textStyle: TextStyle(color: AppColor.nameUserColor, fontSize: 14, fontWeight: FontWeight.w500),
|
||||
cursorColor: AppColor.primaryColor,
|
||||
decoration: InputDecoration(
|
||||
|
||||
Reference in New Issue
Block a user