title: How to setValue/PatchValue multiple value in ngselect in reactive form
body: <p><strong><a href="https://i.stack.imgur.com/ct6oJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ct6oJ.png" alt="I am facing trouble on populating ng select value from database." /></a></strong> I have ng select which consist of languages. a user can have multiple languages. on binding multiple selected value on ng select its showing empty tags. my code is below. <strong>on edit i want to display saved languages tags on ng select but its showing empty tags someone please help. I am using reactive form</strong>
  **Image for reference is attached **</p>
  <blockquote>
  <p>HTML</p>
  </blockquote>
  <pre><code> &lt;ng-select class=&quot;w-100&quot; [multiple]=&quot;true&quot;   [hideSelected]=&quot;true&quot; placeholder=&quot;Please Select Language&quot;
              formControlName=&quot;language&quot; [bindValue]=&quot;language.id&quot;  [bindLabel]=&quot;language.name&quot; 
              &gt;
              &lt;ng-option *ngFor=&quot;let language of languages&quot; [value]=&quot;language.id&quot;&gt;{{language.name}}&lt;/ng-option&gt;
            &lt;/ng-select&gt;
  </code></pre>
  <blockquote>
  <p>Typescript</p>
  </blockquote>
  <p>this.form.patchValue({  language: this.editData.teacherProfile.teacherProfile.language })</p>
  <blockquote>
  <p>Data is retrieving in this form
  &quot;language&quot;: [
  {
  &quot;_id&quot;: &quot;5fb79cdd34ec021e64c2413e&quot;,
  &quot;name&quot;: &quot;English&quot;,
  &quot;id&quot;: &quot;5fb79cdd34ec021e64c2413e&quot;
  },
  {
  &quot;_id&quot;: &quot;5fb7996034ec021e64c2412a&quot;,
  &quot;name&quot;: &quot;Arabic&quot;,
  &quot;id&quot;: &quot;5fb7996034ec021e64c2412a&quot;
  }
  ],</p>
  </blockquote>