TF-1960 Only allow text input fields on 1 line

(cherry picked from commit 091d1472bf19c7041012adb94192eb749433a595)
This commit is contained in:
dab246
2023-07-06 17:45:29 +07:00
committed by Dat Vu
parent b6d3d904e5
commit 39ce09fb82
7 changed files with 7 additions and 0 deletions
@@ -360,6 +360,7 @@ class AdvancedSearchInputForm extends GetWidget<AdvancedFilterController>
controller: textEditingController,
readOnly: isSelectFormList,
mouseCursor: mouseCursor,
maxLines: 1,
textInputAction: isSelectFormList ? TextInputAction.done : TextInputAction.next,
onTap: onTap,
onTextSubmitted: (value) {
@@ -144,6 +144,7 @@ class _TextFieldAutoCompleteEmailAddressState
controller: tec,
focusNode: fn,
textInputAction: TextInputAction.next,
maxLines: 1,
decoration: InputDecoration(
filled: true,
fillColor: Colors.white,