Skip to content

Commit

Permalink
fix: autocomplete circle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxiaolang committed Nov 8, 2023
1 parent 607c016 commit d820d78
Showing 1 changed file with 3 additions and 0 deletions.
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 d820d78

Please sign in to comment.