<div *ngIf="form" [formGroup]="form">
  <!-- <ejs-autocomplete floatLabelType="Never" [dataSource]='data' [fields]='fields' filterType='contains'
    [suggestionCount]='5' [autofill]='true' [query]='query' sortOrder='Ascending' formControlName="naicsCode">
  </ejs-autocomplete> -->
  {{form?.getRawValue() | json}}
  <ejs-autocomplete #remote [dataSource]='data' [suggestionCount]='5' filterType='StartsWith'
    [fields]='fields' [autofill]='true' [query]='query' formControlName="productId" sortOrder='Ascending' (filtering)="onFiltering($event)">
  </ejs-autocomplete>
</div>