-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Can't use datepicker / timepicker #1207
Comments
Hi! Your problem appears cause you don't bind your component with any model. Look at the datepicker-demo as an example of using it. |
@rafaelss95 I'm facing the same problem. Here's what I have
The error I get:
|
I was able to make it work on my app by using
mycomponent.component.ts
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using some modules of ng2-bootstrap and some of them are working (Accordion and Modal) but Datepicker and Timepicker aren't.
Module:
Template:
<datepicker [showWeeks]="true"></datepicker>
I always got the following error:
By the way I'm using the latest version of ng2-bootstrap.
Thanks in advance.
The text was updated successfully, but these errors were encountered: