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: after selecting a date, it no longer deletes it when we click the "x" to clear. #2269

Closed
Roger-Franco opened this issue Dec 31, 2021 · 1 comment · Fixed by #2273

Comments

@Roger-Franco
Copy link

What version of rsuite are you using?

5.4.2

What version of React are you using?

16.14.0

What version of TypeScript are you using (if any)?

No response

What browser are you using?

Chrome

Describe the Bug

After selecting a date, it no longer deletes it when we click the "x" to clear.
Even this behavior is noticed in the pages of the rsuite website components

Expected Behavior

after selecting a date, when we click the "x" to clear, i hope it clear the input

To Reproduce

Captura de Tela 2021-12-31 às 12 35 18

@Roger-Franco
Copy link
Author

Just doing an update to that question. This problem I reported above is workable by putting a "cleanable={false}" props. The apparently most serious problem would be related to MultiDatePicker. When I select a date and leave this page it breaks. I realize that the MultiDatePicker is a separate element from the rsuite. I would like to know if the rsuite would have any element of its own so that we could render several dates at the same time.

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.

3 participants