-
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
Md-datepicker touchUi is always treated as if touchUi is set to true #6344
Comments
@willshowell Although you're correct, I'm just curious as why only this specific |
Thanks! It works indeed with the brackets! |
@rafaelss95 Fair question - maybe raise a separate issue about that be included in a library-wide audit? IMO |
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:
Bug
What is the expected behavior?
when touchUi="true" the md-datepicker will be opened in touchscreen mode, but when touchUi="false", md-datepicker will be opened as a popup under the input
What is the current behavior?
even when touchUi="false" md-datepicker opens in touchscreen mode
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/XcGBezjJ27qYTRdvQt0v?p=preview (I changed an existing plunker with md-datepicker I found and added the touchUi="false".)
What is the use-case or motivation for changing an existing behavior?
I want to be able use a boolean 'showInTouchMode' like this: [touchUi]="showInTouchMode".
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I use in my package.json among others:
"@angular/common": "4.3.1",
"@angular/cdk": "2.0.0-beta.8",
"@angular/material": "2.0.0-beta.8",
"typescript": "2.4.1"
Is there anything else we should know?
Not about this point, but I would really appreciate more examples in the documentation at material.angular.io. How exactly should I customize md-datepicker with the parse and display formats? And How exactly should I localize labels and messages? For example, how should a 'MY_DATE_FORMATS' file look?
The text was updated successfully, but these errors were encountered: