-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Datepicker: make property "opened" an input #8094
Comments
devversion
added a commit
to devversion/material2
that referenced
this issue
Oct 28, 2017
* Adds support for the `opened` input binding. Closes angular#8094
devversion
added a commit
to devversion/material2
that referenced
this issue
Nov 11, 2017
* Adds support for the `opened` input binding. Closes angular#8094
devversion
added a commit
to devversion/material2
that referenced
this issue
Nov 17, 2017
* Adds support for the `opened` input binding. Closes angular#8094
devversion
added a commit
to devversion/material2
that referenced
this issue
Nov 17, 2017
* Adds support for the `opened` input binding. Closes angular#8094
tinayuangao
pushed a commit
that referenced
this issue
Nov 29, 2017
* Adds support for the `opened` input binding. Closes #8094
tinayuangao
pushed a commit
to tinayuangao/material2
that referenced
this issue
Nov 29, 2017
* Adds support for the `opened` input binding. Closes angular#8094
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
I would like to have the datepicker opened at load time, for that I expected to use [opened]=true, but it turns out that it's a simple property, not an input, which means that I cannot set the date picker to open at load time. If i use
open()
in ngAfterViewInit I get anExpressionChangedAfterItHasBeenCheckedError
, which makes sense since it was changed from false to true.What is the current behavior?
opened
is a property, not an inputWhat is the use-case or motivation for changing an existing behavior?
We should be able to show the datepicker opened with an input
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material/CDK 2.0.0-beta.12
The text was updated successfully, but these errors were encountered: