I am trying to implement the mdbootstrap pro version autocomplete but its giving error " no value accessor for form control with name: 'autocomplete'" for this I tried several ways but no luck, please help to get rid of this.
<mdb-autocomplete [label]="'Select color'" initialValue="Select color"
name="autocomplete" [(ngModel)]="searchStr"
[datasource]="dataService" [minSearchLength]="0">
</mdb-autocomplete>