From 52efe8985e642c3e66f1d88886979c2060502740 Mon Sep 17 00:00:00 2001 From: Don Xavier <98073418+DonXavierdev@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:01:49 +0530 Subject: [PATCH] Enhance LocationSearch: Use "instance" for search & Adjust Input Padding (#10554) --- src/components/Location/LocationSearch.tsx | 5 ++--- .../Questionnaire/QuestionTypes/LocationQuestion.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Location/LocationSearch.tsx b/src/components/Location/LocationSearch.tsx index bd21bb26273..a27d8e8d1ec 100644 --- a/src/components/Location/LocationSearch.tsx +++ b/src/components/Location/LocationSearch.tsx @@ -20,7 +20,7 @@ import locationApi from "@/types/location/locationApi"; interface LocationSearchProps { facilityId: string; - mode?: "kind" | "location"; + mode?: "kind" | "instance"; onSelect: (location: LocationList) => void; disabled?: boolean; value?: LocationList | null; @@ -44,7 +44,6 @@ export function LocationSearch({ }), enabled: facilityId !== "preview", }); - return ( @@ -57,7 +56,7 @@ export function LocationSearch({ - +