TF-1960 Only allow text input fields on 1 line
(cherry picked from commit 091d1472bf19c7041012adb94192eb749433a595)
This commit is contained in:
@@ -122,6 +122,7 @@ class SearchEmailView extends GetWidget<SearchEmailController>
|
||||
textInputAction: TextInputAction.search,
|
||||
controller: controller.textInputSearchController,
|
||||
focusNode: controller.textInputSearchFocus,
|
||||
maxLines: 1,
|
||||
textDirection: DirectionUtils.getDirectionByLanguage(context),
|
||||
textStyle: const TextStyle(color: Colors.black, fontSize: 16),
|
||||
keyboardType: TextInputType.text,
|
||||
|
||||
@@ -143,6 +143,7 @@ class SearchMailboxView extends GetWidget<SearchMailboxController>
|
||||
onTextChange: controller.onTextSearchChange,
|
||||
textInputAction: TextInputAction.search,
|
||||
autoFocus: true,
|
||||
maxLines: 1,
|
||||
controller: controller.textInputSearchController,
|
||||
textDirection: DirectionUtils.getDirectionByLanguage(context),
|
||||
textStyle: const TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user