title: Angular ng select required option
body: <p>I cannot find out how to use the required option in ng-select.</p>
  <p>I have tried this:</p>
  <pre><code>&lt;ng-select
      #skills
      required
      [ngClass]=&quot;{ 'is-invalid': f.submitted &amp;&amp; skills.invalid }&quot; 
      [items]=&quot;options&quot; 
      bindLabel=&quot;label&quot; bindValue=&quot;value&quot;
      [multiple]=&quot;true&quot; placeholder=&quot;Select Skills&quot; 
      [(ngModel)]=&quot;registerUserData.skills&quot;                                       
      name=&quot;skills[]&quot;&gt;
  &lt;/ng-select&gt;
  &lt;div *ngIf=&quot;f.submitted &amp;&amp; skills.invalid&quot; class=&quot;invalid-feedback&quot;&gt;
      &lt;div *ngIf=&quot;skills.errors.required&quot;&gt;
         Skills are required
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>but no luck there..</p>