-
Notifications
You must be signed in to change notification settings - Fork 6.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 bind to 'mdDatepickerToggle' since it isn't a known property of 'button'. #6186
Comments
As of #5317, |
use can use md-datepicker-toggle like this: Hope this will help you :) |
@CaerusKaru I think there is a lot of example code out there with the former type https://material.angular.io/components/datepicker/overview being one. |
@BenRacicot Yes, because the current release (2.0.0-beta.8) still officially supports the old type. This is a breaking change before beta 9, and the documentation will be updated accordingly. |
@thank you for clarifying @CaerusKaru! Much clearer now. Looks like beta.9 just dropped. |
…ted <button mdSuffix [mdDatepickerToggle]="fromDatepicker" type="button"></button>. Now (GA9+) this should be implemented <md-datepicker-toggle mdSuffix [for]="fromDatepicker"></md-datepicker-toggle>. Also see angular/components#6186.
Guys any update regarding the usage of date-picker, on using <md-datepicker-toggle mdSuffix [for]="picker"> ; i get this error ERROR TypeError: Cannot read property 'disabled' of undefined |
@ronit123321 Using the example here, adding the |
Returning to an Angular + Material project after a month 😂 🔫 |
I know your pain @elwinarens ! Look out for this too: #7346 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
[X] Bug
What is the expected behavior?
I am update with
npm install --save angular/material2-builds angular/cdk-builds
and my DatePicker not work, my browser terminal return error withmdDatepickerToggle
This is my code
5 minutes ago I worked well, I do not know what happened
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.0.0
Material github:angular/material2-builds (this show in package.json)
OS Mac
The text was updated successfully, but these errors were encountered: