Skip to content

Commit

Permalink
fix: opening dropdown in sidebar input
Browse files Browse the repository at this point in the history
  • Loading branch information
michalgrzegorczyk-dev committed Nov 3, 2024
1 parent 4e8d38f commit f189028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/kit/components/input/input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ export class TuiInputComponent

onActiveZone(active: boolean): void {
this.updateFocused(active);
this.open = false;
}

handleOption(item: unknown): void {
this.setNativeValue(String(item));
this.focusInput();
this.value = String(item);
this.open = false;
}

protected getFallbackValue(): string {
Expand Down

0 comments on commit f189028

Please sign in to comment.