From 930c92365d0a3ef9fe2a64db08593e0202ffce14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ars=C3=A8ne=20Reymond?= <66876397+p0lycarpio@users.noreply.github.com> Date: Fri, 14 Nov 2025 17:05:54 +0100 Subject: [PATCH] fix: Improve recipe ingredient selection (#6518) Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> --- .../components/Domain/Recipe/RecipeIngredientEditor.vue | 6 ++++-- .../RecipePageParts/RecipePageIngredientEditor.vue | 9 ++------- frontend/lang/messages/en-US.json | 4 +++- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue b/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue index 63175ec10..ed508974a 100644 --- a/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue +++ b/frontend/components/Domain/Recipe/RecipeIngredientEditor.vue @@ -173,9 +173,11 @@ :items="search.data.value || []" item-title="name" class="mx-1 py-0" - placeholder="Choose Recipe" + :placeholder="$t('search.type-to-search')" clearable - label="Recipe" + :label="!model.referencedRecipe ? $t('recipe.choose-recipe') : ''" + @click="search.trigger()" + @focus="search.trigger()" > diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageIngredientEditor.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageIngredientEditor.vue index 151c91a80..067e31ba2 100644 --- a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageIngredientEditor.vue +++ b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageIngredientEditor.vue @@ -75,11 +75,11 @@ style="display: none" @bulk-data="addIngredient" /> -