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

Feature request: when using text-input, range and partial-range, allow typing a single date #1097

Open
jono-hayward opened this issue Mar 13, 2025 · 0 comments
Labels
awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request

Comments

@jono-hayward
Copy link

Is your feature request related to a problem? Please describe.
We use this date picker to select a range of dates for a document search. In this context, a single date is a valid 'range'. This is easy enough to choose when using the mouse, but when typing it involves typing out the date twice, e.g. 13/5/2025-13/5/2025 which can get pretty cumbersome.

Describe the solution you'd like
If a single date is entered using text input, accept that as valid input for the range and set the start and end date for the range to the same date.

Describe alternatives you've considered
Have looked at various workarounds using input events but it gets unwieldy pretty quickly.

@jono-hayward jono-hayward added awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request labels Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant