From 586825dbe2e9874fc06feb55f7d73dd588c3769a Mon Sep 17 00:00:00 2001 From: Angelika Kinas Date: Mon, 25 Nov 2024 15:46:12 +0100 Subject: [PATCH] fix(autocomplete): clear input after selecting option --- libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts b/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts index 62b9f047c..f493430a8 100644 --- a/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +++ b/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts @@ -239,7 +239,6 @@ export class AutocompleteComponent this.lastInputValue$.pipe(first()).subscribe((lastInputValue) => { this.inputRef.nativeElement.value = lastInputValue }) - return } if (this.clearOnSelection) { this.inputRef.nativeElement.value = ''