Can't bind to 'markFirst' since it isn't a known property of 'ng-select'.
AmineBena17 opened this issue · 0 comments
AmineBena17 commented
Hi,
i'm using ng2-selectin my project, but when i'm trying to bind [markFirst] i got this error :
`ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'markFirst' since it isn't a known property of 'ng-select'.
- If 'markFirst' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" <ng-select [multiple]="false" class='w-100'
[ERROR ->][markFirst]="true" #addressSelection name="addressSelection" [required]="field?.required === '1'"
"): ng:///OnlineFormsModule/OnlineFormsComponent.html@134:44
Error: Template parse errors:
Can't bind to 'markFirst' since it isn't a known property of 'ng-select'. - If 'markFirst' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" <ng-select [multiple]="false" class='w-100'
[ERROR ->][markFirst]="true" #addressSelection name="addressSelection" [required]="field?.required === '1'"
"): ng:///OnlineFormsModule/OnlineFormsComponent.html@134:44`
i don't know if it's a bug or something else
thanks