From 4dda6d6576368399a3a17b77a9549cc25c46ce2c Mon Sep 17 00:00:00 2001 From: Scott Duncombe Date: Mon, 8 Jan 2024 19:46:16 -0800 Subject: [PATCH] Fix page nav issue (#79) --- src/components.d.ts | 2 ++ src/components/form-report/form-report.tsx | 1 + src/components/page-home/page-home.tsx | 1 + .../ui-location-search/ui-location-search.tsx | 27 ++++++++++--------- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index 005f405..7851244 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -98,6 +98,7 @@ export namespace Components { } interface UiLocationSearch { "error": string | null; + "inputId": string; "placeholder": string; "readOnly": boolean; } @@ -456,6 +457,7 @@ declare namespace LocalJSX { } interface UiLocationSearch { "error"?: string | null; + "inputId"?: string; "onLocationSelected"?: (event: CustomEvent<{ formattedAddress: string; locationName: string }>) => void; "placeholder"?: string; "readOnly"?: boolean; diff --git a/src/components/form-report/form-report.tsx b/src/components/form-report/form-report.tsx index 8472410..ae5b570 100644 --- a/src/components/form-report/form-report.tsx +++ b/src/components/form-report/form-report.tsx @@ -359,6 +359,7 @@ export class FormReport { onLocationSelected={({ detail }: CustomEvent) => { this.handleLocationSelected(detail); }} + inputId="report-form" /> Search by the name of the place ("St. John's Library") or street address.