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

DateRangeInput shows wrong time in input field on mouseover #4239

Open
michael-swarm opened this issue Jul 23, 2020 · 0 comments
Open

DateRangeInput shows wrong time in input field on mouseover #4239

michael-swarm opened this issue Jul 23, 2020 · 0 comments

Comments

@michael-swarm
Copy link

Environment

  • Package version(s): 3.18.4
  • Operating System: macOS 10.15
  • Browser name and version: Chrome 84

Code Sandbox

This is reproducible in the official documentation for the component.

Steps to reproduce

  1. Enable the time picker on a DateRangeInput (in the docs, toggle "Enable time picker")
  2. Change the date format to anything that shows the time (in the docs, select "YYYY-MM-DD HH:mm:ss (moment)")
  3. Focus one of the input fields
  4. Hover over any date

Actual behavior

Regardless of what is entered in the time picker, the input field shows 12:00 PM on hover. After you click, the entered time is applied to the input field, as expected.

image

Expected behavior

I would expect what is shown on hover to match what will be applied when you click. Specifically, I would expect the selected time to be respected.

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

2 participants