Skip to content

Datepicker min attribute - dates before min dates are still available. Validation works #5065

Closed
@vmachacek

Description

@vmachacek

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When I set 'min' on a datepicker I want to see disabled all dates before that

What is the current behavior?

The dates which are in past from min date are not disabled

What are the steps to reproduce?

Set the min date for datepicker, and previous dates are still available from UI, validation will still work.

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

The min attribute is useless for UI, the validation still works

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

I'm using https://github.com/angular/material2-builds.git repo

Is there anything else we should know?

I was flowing the #4725 and used the material2-builds repository, but another problem occurred. This issue.

Metadata

Metadata

Assignees

Labels

P1Impacts a large percentage of users; if a workaround exists it is partial or overly painful

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions