From 114f9114ad2d7c4c7a111f15d11a799b2474dcbb Mon Sep 17 00:00:00 2001 From: Alexandre Caron Date: Mon, 29 Apr 2024 11:36:45 -0400 Subject: [PATCH] fix(search-bar): trigger search on click --- .../src/lib/search/search-bar/search-bar.component.html | 7 ++++++- .../geo/src/lib/search/search-bar/search-bar.component.ts | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/geo/src/lib/search/search-bar/search-bar.component.html b/packages/geo/src/lib/search/search-bar/search-bar.component.html index 75ad2cfe2..931b56577 100644 --- a/packages/geo/src/lib/search/search-bar/search-bar.component.html +++ b/packages/geo/src/lib/search/search-bar/search-bar.component.html @@ -32,7 +32,12 @@
- diff --git a/packages/geo/src/lib/search/search-bar/search-bar.component.ts b/packages/geo/src/lib/search/search-bar/search-bar.component.ts index 560e02d96..aa18043ee 100644 --- a/packages/geo/src/lib/search/search-bar/search-bar.component.ts +++ b/packages/geo/src/lib/search/search-bar/search-bar.component.ts @@ -387,6 +387,10 @@ export class SearchBarComponent implements OnInit, OnDestroy { } } + handleSearch(): void { + this.doSearch(this.term); + } + /** * Clear the stream and the input */