We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d6eed commit 9b6acd3Copy full SHA for 9b6acd3
kitchenowl/lib/pages/household_page/shoppinglist.dart
@@ -63,6 +63,8 @@ class _ShoppinglistPageState extends State<ShoppinglistPage> {
63
if (state.result.first is! ShoppinglistItem) {
64
cubit.add(state.result.first);
65
}
66
+ } else {
67
+ cubit.search(searchController.text);
68
69
},
70
),
kitchenowl/lib/pages/item_search_page.dart
@@ -66,6 +66,10 @@ class _ItemSearchPageState extends State<ItemSearchPage> {
alwaysExpanded: true,
textInputAction: TextInputAction.done,
onSubmitted: () {
+ if (cubit.state.query != searchController.text) {
71
+ return;
72
+ }
73
if (cubit.state.selectedItems
74
.contains(cubit.state.searchResults.first)) return;
75
if (!widget.multiple) {
0 commit comments