title: Autocomplete search drop down angular
body: <p>I have a dropdown where I get some json data. I get the data through a get all API. So I havent hardcoded any data.I am doing this in angular</p>
  <pre class="lang-html prettyprint-override"><code>&lt;td&gt;
    &lt;mat-form-field&gt;
      &lt;mat-label&gt;Customer&lt;/mat-label&gt;
      &lt;mat-select formControlName=&quot;custom&quot;&gt;
        &lt;mat-option *ngFor=&quot;let customer of customerList&quot; [value]=&quot;customer.id&quot;&gt;
          {{customer.name}}
        &lt;/mat-option&gt;
      &lt;/mat-select&gt;
    &lt;/mat-form-field&gt;
  &lt;/td&gt;
  </code></pre>
  <p>So here I have a List named  customerList where the data is in json format inside. So I have to display the name field at dropdown and pass the id to backend. So my task here is to do a autocomplete search on this dropdown</p>