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

[CheckPicker] Selected values are lost when erasing the search #1946

Closed
asabates opened this issue Sep 30, 2021 · 0 comments · Fixed by #1947
Closed

[CheckPicker] Selected values are lost when erasing the search #1946

asabates opened this issue Sep 30, 2021 · 0 comments · Fixed by #1947
Assignees

Comments

@asabates
Copy link
Contributor

What version of rsuite are you using?

5.0.0

What version of React are you using?

16.14.0

What browser are you using?

Firefox

Describe the Bug

Once you have selected certain values on the CheckPicker, if you try to search and then press Backspace to erase what you've written, your selected items are lost.

Expected Behavior

The selected items should remain unless manually unselected or cleared.

To Reproduce

https://rsuitejs.com/components/check-picker/

In any of the examples of the CheckPicker component, you click on it to open the option selector, select some items, search for some text in the searchbox, then erase some letters using backspace.

AwesomeScreensho.mp4
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.

2 participants