Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple-date-picker not working #20

Open
vineethinno opened this issue Sep 24, 2019 · 1 comment
Open

multiple-date-picker not working #20

vineethinno opened this issue Sep 24, 2019 · 1 comment

Comments

@vineethinno
Copy link

: Error: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'multiple-date-picker'.

  1. If 'multiple-date-picker' is an Angular component and it has 'ngModel' input, then verify that it is part of this module.
  2. If 'multiple-date-picker' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
    [weekDaysOff]="[0, 3]"
    [month]="myMonth"
    [ERROR ->][(ngModel)]="initialCount">

@ofir-haviv
Copy link

I had this issue too. Make sure you import "MultipleDatePickerModule" (from multiple-date-picker-angular/dist/multiple-date-picker.module) in your app,module.ts file.
The docs are not good. This is not clear...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants