ngAutocomplete icon indicating copy to clipboard operation
ngAutocomplete copied to clipboard

Can't bind to 'classes' since it isn't a known property of 'ng-autocomplete'.

Open Dustinhoefer opened this issue 5 years ago • 2 comments

Hello there,

I am tryting to use ngAutocomplete in an angular7 project. After installing it, modifying the app.module.ts, app.component.ts and app.component.html, I am getting the following error:

Can't bind to 'classes' since it isn't a known property of 'ng-autocomplete'.

Dame for group. When removing classes and group from <ng-autocomplete (selected)="Selected($event)" [classes]="['']" [group]="group"></ng-autocomplete>

I am getting the error, that ng-aitocomplete is unknown.

Any help is greatly appreciated!

Regards Dustin

Dustinhoefer avatar Apr 05 '19 14:04 Dustinhoefer

Selector name is changed to 'ng-auto-complete'.

You can try this : <ng-auto-complete (selected)="Selected($event)" [classes]="['']" [group]="group"></ng-auto-complete>

yuyueh avatar May 19 '19 05:05 yuyueh

plz change your readme for same - <ng-auto-complete (selected)="Selected($event)" [classes]="['']" [group]="group">

santoshprakash avatar Dec 16 '19 10:12 santoshprakash