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

Correct invalid date input #5657

Closed
zdrawku opened this issue Aug 15, 2019 · 6 comments
Closed

Correct invalid date input #5657

zdrawku opened this issue Aug 15, 2019 · 6 comments
Assignees

Comments

@zdrawku
Copy link
Contributor

zdrawku commented Aug 15, 2019

Is your feature request related to a problem? Please describe.

I want the DatePicker to prevent invalid input typing.

Describe the solution you'd like

If I try to type in value 14 in the month section, it should either fall-back to 12- max value available for a month or accept 1- min value available for a month, and continue with the next section (based on the mask)

Describe alternatives you've considered

Use max or min value for day/month or accept the first valid value.

Open the sample and type in 55-55-5555, I expect the date picker to accept 05-05-5555, rather now the value is cleared because it is invalid.

@Lipata
Copy link
Member

Lipata commented Jan 17, 2020

Added to the igxDateTimeEditorDirective specification.

@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label May 14, 2020
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label May 18, 2020
@Lipata Lipata changed the title Prevent invalid date input Correct invalid date input Jun 10, 2020
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Aug 10, 2020
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Aug 10, 2020
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Oct 10, 2020
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Oct 12, 2020
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Dec 12, 2020
@radomirchev radomirchev removed the status: inactive Used to stale issues and pull requests label Dec 14, 2020
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants