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: Allow controlled clearing of input #2965

Open
interactivellama opened this issue Oct 4, 2021 · 1 comment · May be fixed by #3169
Open

Datepicker: Allow controlled clearing of input #2965

interactivellama opened this issue Oct 4, 2021 · 1 comment · May be fixed by #3169

Comments

@interactivellama
Copy link
Contributor

Currently, on initial load the input is uncontrolled and creates a clear empty string value. There currently is not a way to reset to an empty string once the value is set.

One proposal is to allow a controlled component reset to input empty string by using value={null}.

@interactivellama interactivellama changed the title Datepicker: Clear input by setting value Datepicker: Allow controlled clearing of input Oct 4, 2021
@stale
Copy link

stale bot commented Apr 18, 2022

This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you.

@stale stale bot added the stale label Apr 18, 2022
@ekim088 ekim088 linked a pull request Dec 26, 2024 that will close this issue
17 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.

1 participant