|
|
|
@ -99,7 +99,7 @@ class _SearchAssetPageState extends State<SearchAssetPage> {
|
|
|
|
controller: _searchController,
|
|
|
|
controller: _searchController,
|
|
|
|
textInputAction: TextInputAction.search,
|
|
|
|
textInputAction: TextInputAction.search,
|
|
|
|
labelText: "${context.translation.searchBy} ${searchBy[_selectedIndex]}",
|
|
|
|
labelText: "${context.translation.searchBy} ${searchBy[_selectedIndex]}",
|
|
|
|
//onAction: _search,
|
|
|
|
onAction: _search,
|
|
|
|
onChange: (text) {
|
|
|
|
onChange: (text) {
|
|
|
|
_searchController.text = text;
|
|
|
|
_searchController.text = text;
|
|
|
|
_searchController.selection = TextSelection.fromPosition(TextPosition(offset: _searchController.text.length));
|
|
|
|
_searchController.selection = TextSelection.fromPosition(TextPosition(offset: _searchController.text.length));
|
|
|
|
|