1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
mealie/frontend/components/Domain
Jurriaan Den Toonder 4d2363ea22
Add shopping list items using the enter key (#3118)
* Enables shopping list items being saved upon enter key press in notes field

Related to: https://github.com/mealie-recipes/mealie/discussions/3114
* Enter key press is caught in note field in ShoppingListItemEditor
* The create editor now stays open after saving a food item to a shopping list,
   to allow keyboard-only interaction with the shopping list

* Prevent empty shopping list items from being added

Related to: https://github.com/mealie-recipes/mealie/discussions/3114
An item is considered empty when the foodId is not set, and no note is set.
This is only handled frontend, the backend still accepts empty items.

---------

Signed-off-by: Jurriaan Den Toonder <1493561+Fastjur@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-02-19 10:29:45 -06:00
..
Cookbook feat: Cookbook Create & Delete Improvements (#2902) 2024-02-04 07:15:25 -09:00
Group feat: add meal plan to shopping list (#2653) 2023-11-21 18:11:10 +00:00
Recipe Merge branch 'mealie-next' into chore-bump-nuxt-to-2.17.3 2024-02-13 18:44:26 +01:00
ShoppingList Add shopping list items using the enter key (#3118) 2024-02-19 10:29:45 -06:00
User fix: eslint errors and failing tests (#2078) 2023-01-29 13:01:41 -09:00
SearchFilter.vue translate hardcoded strings 2023-11-24 22:28:15 +01:00