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
@@ -104,6 +104,7 @@ class SearchAppBarWidget extends StatelessWidget {
onTextChange: onTextChangeSearchAction,
onTextSubmitted: onSearchTextAction,
cursorColor: AppColor.colorTextButton,
maxLines: 1,
textDirection: DirectionUtils.getDirectionByLanguage(context),
autoFocus: true,
focusNode: searchFocusNode,