TF-191 Fix keyboard to email input type when input for Url, Email, To, Cc, Bcc
This commit is contained in:
@@ -123,6 +123,7 @@ class EmailAddressComposerWidgetBuilder {
|
||||
autofocus: prefixEmailAddress == PrefixEmailAddress.to ? true : false,
|
||||
textStyle: TextStyle(color: AppColor.nameUserColor, fontSize: 14, fontWeight: FontWeight.w500),
|
||||
cursorColor: AppColor.primaryColor,
|
||||
inputType: TextInputType.emailAddress,
|
||||
decoration: InputDecoration(
|
||||
border: InputBorder.none,
|
||||
hintText: AppLocalizations.of(_context).hint_text_email_address,
|
||||
|
||||
@@ -95,6 +95,7 @@ class LoginView extends GetWidget<LoginController> {
|
||||
..key(Key('login_url_input'))
|
||||
..onChange((value) => loginController.setUrlText(value))
|
||||
..textInputAction(TextInputAction.next)
|
||||
..keyboardType(TextInputType.emailAddress)
|
||||
..textDecoration(LoginInputDecorationBuilder()
|
||||
.setLabelText(AppLocalizations.of(context).prefix_https)
|
||||
.setPrefixText(AppLocalizations.of(context).prefix_https)
|
||||
@@ -111,6 +112,7 @@ class LoginView extends GetWidget<LoginController> {
|
||||
..key(Key('login_username_input'))
|
||||
..onChange((value) => loginController.setUserNameText(value))
|
||||
..textInputAction(TextInputAction.next)
|
||||
..keyboardType(TextInputType.emailAddress)
|
||||
..textDecoration(LoginInputDecorationBuilder()
|
||||
.setLabelText(AppLocalizations.of(context).username)
|
||||
.setHintText(AppLocalizations.of(context).username)
|
||||
|
||||
Reference in New Issue
Block a user