valor-software / ng2-select

Angular based replacement for select boxes
http://valor-software.github.io/ng2-select/
MIT License
676 stars 588 forks source link

How to set a value requested from an API #988

Open BETZCorentin opened 4 years ago

BETZCorentin commented 4 years ago

Hi all As title, I'm using ng2-select2 and i want to set the value I requested from an API. How can i do that ? Thanks

DoanVanThuong commented 4 years ago

You can using [ active]="selectedItem"