I\'m using angular5 ng-select component: https://github.com/ng-select/ng-select and try to set the selected value (programatically) when the container component
Just find the item
let item = this.ngSelect.itemsList.findByLabel('label of the item');
and then set it back
this.ngSelect.select(item);
you need a reference to ng-select in your angular component
@ViewChild(NgSelectComponent) ngSelect: NgSelectComponent;