TF-1735 UnFocus input search after perform search action
(cherry picked from commit 61ea31c8424f027573106d4252d6c0eb69019b84)
This commit is contained in:
@@ -44,10 +44,6 @@ class QuickSearchInputForm<T, R> extends FormField<String> {
|
||||
{Key? key,
|
||||
String? initialValue,
|
||||
bool getImmediateSuggestions = false,
|
||||
@Deprecated('Use autovalidateMode parameter which provides more specific '
|
||||
'behavior related to auto validation. '
|
||||
'This feature was deprecated after Flutter v1.19.0.')
|
||||
bool autovalidate = false,
|
||||
bool enabled = true,
|
||||
AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
|
||||
FormFieldSetter<String>? onSaved,
|
||||
|
||||
@@ -118,6 +118,7 @@ class SearchInputFormWidget extends StatelessWidget with AppLoaderMixin {
|
||||
}
|
||||
|
||||
void _invokeSearchEmailAction(BuildContext context, String query) {
|
||||
dashBoardController.searchController.searchFocus.unfocus();
|
||||
dashBoardController.searchController.enableSearch();
|
||||
|
||||
if (query.isNotEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user