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

[EuiDatePicker] Create an EuiFieldDate for user input only #4203

Closed
sebastienlabine opened this issue Oct 30, 2020 · 3 comments
Closed

[EuiDatePicker] Create an EuiFieldDate for user input only #4203

sebastienlabine opened this issue Oct 30, 2020 · 3 comments

Comments

@sebastienlabine
Copy link

Hi,

This is related to #3367.

I read that the EuiDatePicker default behaviour is to force people to select a date in a calendar.

One of my use case of the calendar is to for users to select their birthday. I feel like the year selection is really not user friendly, because it takes a long time to a date for someone aged 35+.

I looked for a EuiFieldX that would allow the same validation behaviour that the EuiDatePicker, but that would only act as a field text, but didn't find any.

I think there's many use case where you would only want the user to input a date, enhance it would be great to either have a EuiFieldDate component or add a userInputOnly props in EuiDatePicker

@thompsongl
Copy link
Contributor

Hey @sebastienlabine

Being able to type a date into the EuiDatePicker input is certainly something we want to support, and therefore it's unlikely that we'd create a new, separate EuiFieldDate component.
#3901 tracks the most near-term effort related to EuiDatePicker. The roadmap is not yet defined, but text entry will be on the list.

@github-actions
Copy link

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

github-actions bot commented May 6, 2021

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

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