design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Datepicker: Allow controlled clearing of input

Open interactivellama opened this issue 2 years ago • 1 comments

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 avatar Oct 04 '21 21:10 interactivellama

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[bot] avatar Apr 18 '22 19:04 stale[bot]