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,
|
onChanged: _onTextChange,
|
||||||
cursorColor: AppColor.primaryColor,
|
cursorColor: AppColor.primaryColor,
|
||||||
controller: _textController,
|
controller: _textController,
|
||||||
|
autocorrect: false,
|
||||||
textInputAction: _textInputAction,
|
textInputAction: _textInputAction,
|
||||||
decoration: _inputDecoration,
|
decoration: _inputDecoration,
|
||||||
maxLines: _maxLines,
|
maxLines: _maxLines,
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ class EmailAddressComposerWidgetBuilder {
|
|||||||
? keyToEmailAddress
|
? keyToEmailAddress
|
||||||
: Key('${prefixEmailAddress.toString()}_email_address_input'),
|
: Key('${prefixEmailAddress.toString()}_email_address_input'),
|
||||||
initialValue: _getListEmailAddressCurrent(prefixEmailAddress),
|
initialValue: _getListEmailAddressCurrent(prefixEmailAddress),
|
||||||
|
autofocus: prefixEmailAddress == PrefixEmailAddress.to ? true : false,
|
||||||
textStyle: TextStyle(color: AppColor.nameUserColor, fontSize: 14, fontWeight: FontWeight.w500),
|
textStyle: TextStyle(color: AppColor.nameUserColor, fontSize: 14, fontWeight: FontWeight.w500),
|
||||||
cursorColor: AppColor.primaryColor,
|
cursorColor: AppColor.primaryColor,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
|||||||
Reference in New Issue
Block a user