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

Datepicker minDate - error is raised when date is exactly min date #4725

Closed
mihaSoro opened this issue May 22, 2017 · 4 comments · Fixed by #4649
Closed

Datepicker minDate - error is raised when date is exactly min date #4725

mihaSoro opened this issue May 22, 2017 · 4 comments · Fixed by #4649
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@mihaSoro
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When minDate is set for the datePicker, a mdDatepickerMin error should be raised only if the date is earlier than the minDate.

What is the current behavior?

For the moment, when setting minDate, the date for exactly min date is NOT unselectable, which means you can select it, but it nevertheless raises an error. I think it should be either unselectable and raise an error or selectable and not raise the error.

What are the steps to reproduce?

Set up a minDate restiriction for the datepicker and try to select the exact min date, and check the fact that it raises an error while it is still selectable.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4, Material 2

Is there anything else we should know?

@willshowell
Copy link
Contributor

I believe #4649 will fix that

@jelbourn jelbourn added the P2 The issue is important to a large percentage of users, with a workaround label May 23, 2017
@BaimosTechnologies
Copy link

Fixed in #4649

@mihaSoro
Copy link
Author

Great! This was fast!

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants