From fec613253dd2ad849c3d96f7dd2c0b90eefce785 Mon Sep 17 00:00:00 2001 From: "swapnil.verma" Date: Wed, 27 Nov 2024 14:31:38 +0530 Subject: [PATCH] [ACS-8998] Calling search term getter instead of searchFormControl.value directly --- .../search-input-control/search-input-control.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-content/src/lib/components/search/search-input-control/search-input-control.component.ts b/projects/aca-content/src/lib/components/search/search-input-control/search-input-control.component.ts index a77ab7a4f7..3186fa9809 100644 --- a/projects/aca-content/src/lib/components/search/search-input-control/search-input-control.component.ts +++ b/projects/aca-content/src/lib/components/search/search-input-control/search-input-control.component.ts @@ -85,7 +85,7 @@ export class SearchInputControlComponent implements OnInit { searchSubmit() { if (!this.searchFieldFormControl.errors) { - this.submit.emit(this.searchFieldFormControl.value); + this.submit.emit(this.searchTerm); } }