title: angular 6 How to populate the values on ng select multiple option
body: <p>I have used ng-select for multiple option and i want populate some values on ng-select. I have passed array values in ngmodel but its not working.Please guide to achieve this</p>
  
  <p>Here is my code</p>
  
  <p>companyArr = [10];
  companyList = array</p>
  
  <pre><code>&lt;ng-select [items]="companyList" bindLabel="brand_name" bindValue="id"
                                      [multiple]="true" [(ngModel)]="companyArr" (change)="onSelectCompany($event)" name="companyArr"   [ngClass]="{ 'is-invalid': f.submitted &amp;&amp; companyArr.invalid }" required&gt; 
                                  &lt;/ng-select&gt;
  </code></pre>