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: Cannot clear the value of range date/timestamp #6168

Closed
sjasaniel opened this issue Mar 5, 2022 · 1 comment · Fixed by #6276
Closed

DatePicker: Cannot clear the value of range date/timestamp #6168

sjasaniel opened this issue Mar 5, 2022 · 1 comment · Fixed by #6276
Assignees
Labels
team: landmark For Landmark issues type: bug 🐛 [3] Velocity rating (Fibonacci)

Comments

@sjasaniel
Copy link

sjasaniel commented Mar 5, 2022

Describe the bug
Cannot clear the value of range date/timestamp.
Also, if the date passed is an Invalid Date, the value in the field becomes NaN/NaN/NaN - NaN/NaN/NaN. Not sure of this is working as designed.

To Reproduce
Please see sample below. Please input 02/01/2022 - 02/15/2022 then press 'Clear Field'.
https://ids-enterprise-ege91h.stackblitz.io (https://stackblitz.com/edit/ids-enterprise-ege91h?file=index.html)
Actual result: Date field is not cleared and it was replaced with the current date in range format.

Input: 02/01/2022 - 02/15/2022
becomes: 03/05/2022 - 03/05/2022 (date at the time this report was logged)

Expected behavior
Date field is cleared.

Version
Version used in stackblitz is v4.51.0-dev.
The latest version is v4.60.0, the result is different from v4.51.0-dev but still incorrect (3/5/2022 - NaN/NaN/NaN)

Platform

  • Infor Application/Team Name: Landmark
  • OS Version: Windows10
  • Browser Name: Chrome 99.0.4844.51
  • Browser Version: 99.0.4844.51 (Official Build) (64-bit)
@tmcconechy tmcconechy added [3] Velocity rating (Fibonacci) type: bug 🐛 labels Mar 6, 2022
@tmcconechy tmcconechy added this to Triage in Enterprise (Next) Sprint Grooming via automation Mar 6, 2022
@tmcconechy tmcconechy added this to To do in Enterprise 4.63.x (Apr 2022) Sprint via automation Mar 30, 2022
@tmcconechy tmcconechy added the team: landmark For Landmark issues label Mar 30, 2022
@tjamesallen15 tjamesallen15 moved this from To do to In progress in Enterprise 4.63.x (Apr 2022) Sprint Apr 4, 2022
@tmcconechy tmcconechy moved this from In progress to Pending Review in Enterprise 4.63.x (Apr 2022) Sprint Apr 6, 2022
@tmcconechy tmcconechy moved this from Pending Review to Ready for QA (beta) in Enterprise 4.63.x (Apr 2022) Sprint Apr 8, 2022
@jbrcna
Copy link
Contributor

jbrcna commented Apr 11, 2022

date field can now be cleared using the button. moving this ticket to done.
v4.63.0-dev
https://main-enterprise.demo.design.infor.com/components/datepicker/test-input-datefield-clear.html

@jbrcna jbrcna moved this from Ready for QA (beta) to Done in Enterprise 4.63.x (Apr 2022) Sprint Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: landmark For Landmark issues type: bug 🐛 [3] Velocity rating (Fibonacci)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants