Skip to content

Commit

Permalink
fix: autocomplete circle dependencies (#525)
Browse files Browse the repository at this point in the history
Co-authored-by: JounQin <[email protected]>
  • Loading branch information
yangxiaolang and JounQin authored Nov 27, 2023
1 parent 607c016 commit 369ee93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-planets-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alauda/ui": patch
---

fix: autocomplete circle dependencies
3 changes: 3 additions & 0 deletions src/autocomplete/suggestion/suggestion.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import {
ChangeDetectorRef,
Component,
ElementRef,
Inject,
Input,
ViewChild,
ViewEncapsulation,
forwardRef,
} from '@angular/core';
import {
BehaviorSubject,
Expand Down Expand Up @@ -62,6 +64,7 @@ export class SuggestionComponent {

constructor(
private readonly cdr: ChangeDetectorRef,
@Inject(forwardRef(() => AutocompleteComponent))
private readonly autocomplete: AutocompleteComponent,
) {
this.selected$ = combineLatest([
Expand Down

0 comments on commit 369ee93

Please sign in to comment.