Answer the question
In order to leave comments, you need to log in
How to make linked lists?
I have a custom component - which internally fills the select list field with a request via autocomplete.
<app-search-reon [searchType]="'CADNUM'" (onSelected)="onCadnumSelected($event)"></app-search-reon>
<app-search-reon [searchType]="'C'" (onSelected)="onCadnumSelected($event)"></app-search-reon>
<app-search-reon [searchType]="'D'" (onSelected)="onCadnumSelected($event)"></app-search-reon>
Answer the question
In order to leave comments, you need to log in
Make a service, in it BehaviorSubject with data, subscribe to it in all components, and change, or rather make a method in the service to change the data, and give it out of the service as BehaviorSubject.asObservable();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question