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

[IgxDatePicker] Day part becomes NaN after clearing the value and hit down arrow key at the day part. #8567

Closed
norikois opened this issue Nov 11, 2020 · 4 comments · Fixed by #9160

Comments

@norikois
Copy link

Description

[IgxDatePicker] Day part becomes NaN after clearing the value and hit down arrow key at the day part.

  • igniteui-angular version: 10.2.3
  • browser: Chrome

Steps to reproduce

  1. Open the attached sample in a browser.
  2. Click "x" button to clear the value.
  3. Click the day part of the mask.
  4. Hit down arrow key.

Result

"NaN" is displayed in the day part.

Expected result

"NaN" is not displayed.
This can be a discussion about to what value the day part should decrement when its value is minimum. It's undefined unless the year and the month are fixed. One option could be "not to wrap and to stop spinning". Another option could be "to wrap to 31 for the time being and to adjust the day value when the editor exits edit mode."

Attachments

cas33657-app1.zip

cas33657-app1-movie.zip

@jackofdiamond5
Copy link
Member

jackofdiamond5 commented Nov 19, 2020

The issue will be fixed in #6483

Related issue #6925

@norikois
Copy link
Author

norikois commented Dec 8, 2020

@jackofdiamond5, @Lipata, @wnvko,
Is there a workaround that we can apply to the latest version of the product?

@github-actions
Copy link

github-actions bot commented Feb 7, 2021

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 7, 2021
@jackofdiamond5 jackofdiamond5 removed the status: inactive Used to stale issues and pull requests label Feb 7, 2021
@github-actions
Copy link

github-actions bot commented Apr 9, 2021

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 Apr 9, 2021
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Apr 9, 2021
@Lipata Lipata mentioned this issue Apr 14, 2021
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants