You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}.
The text was updated successfully, but these errors were encountered:
interactivellama
changed the title
Datepicker: Clear input by setting value
Datepicker: Allow controlled clearing of input
Oct 4, 2021
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.
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 usingvalue={null}
.The text was updated successfully, but these errors were encountered: