I have dropdown Boxes in my forms which use via a custom component and i populate them with data by pasing the lookup value via a GUID to the component. All works as expected and i get my data etc. But now i need to be able to also clear the data in dropdown based on user selection. Lets say user selects in first dropdown fruits, based on that i want to provide in the selection all fruits which i have no problem doing. But now user goes back and changes its selection from fruits to soda, which means the previous selected apple is no longer valid and needs to be cleared. So i am looking for a simple way to clear all values from a dropdown box.
to get my data into dropdown i call
socialOptions$: Observable<Array<IServerDropdownOption>>;
ngOnInit() {
this.socialOptions$ = this.guidService.fetchAll(this.guids.SOCIAL_LABELS).pipe(shareReplay());
}

this.countryOptions$ = Observable<any[]>If its is being used in template pipe it ascountryOptions$|async