diff --git a/packages/entities/entities-routes/src/components/RouteList.vue b/packages/entities/entities-routes/src/components/RouteList.vue index 31e6006ac1..54de515ece 100644 --- a/packages/entities/entities-routes/src/components/RouteList.vue +++ b/packages/entities/entities-routes/src/components/RouteList.vue @@ -353,7 +353,8 @@ const filterConfig = computed['$props']['confi if (isExactMatch) { return { isExactMatch, - placeholder: t(`search.placeholder.${props.config.app}`), + // force exact placeholder if `props.config.isExactMatch` is true + placeholder: t(`search.placeholder.${props.config.isExactMatch ? 'exact' : props.config.app}`), } as ExactMatchFilterConfig } diff --git a/packages/entities/entities-routes/src/locales/en.json b/packages/entities/entities-routes/src/locales/en.json index 7bb9b655be..f96460fe35 100644 --- a/packages/entities/entities-routes/src/locales/en.json +++ b/packages/entities/entities-routes/src/locales/en.json @@ -12,6 +12,7 @@ "search": { "placeholder": { "konnect": "Filter by name", + "exact": "Filter by exact name or ID", "kongManager": "Filter by exact name or ID" }, "no_results": "No results found"