Can't bind to 'options' since it isn't a known property of 'ng-datepicker'
rahulsharma841990 opened this issue · comments
Getting error on creating production build in ionic:
Can't bind to 'options' since it isn't a known property of 'ng-datepicker'. 1. If 'options' is an Angular
directive, then add 'CommonModule' to the '@NgModule.imports' of this component. 2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" #controlDir [formControl]="form.get(currentFormControlName)" [(ngModel)]="OriginalContent.prefill"
[ERROR->][options]="options"></ng-datepicker> </div> </div> ")
can any one please tell me the solution?