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

Enter does not remove item from being selected #6

Open
jcrawfordRI opened this issue Sep 17, 2021 · 0 comments
Open

Enter does not remove item from being selected #6

jcrawfordRI opened this issue Sep 17, 2021 · 0 comments

Comments

@jcrawfordRI
Copy link

jcrawfordRI commented Sep 17, 2021

I have found when using this component everything seems to work based upon selections except for when I want to remove the item from being selected. I am not allowing multiple selections but when a single item is listed in the drop down and I expand the contents it says hit enter to remove, however hitting enter does not remove the selection.

Is it possible to remove the selected item when I am using the select for a single value and not using muliple?

I have googled and found that due to using Objects the track_by has to be in place for the component to know which one you are de-selecting and I have verified that all 4 of my drop downs have this attribute but NONE of them will allow me to deselect the selection value.

image
image
image

The above images show the select element where it says I can hit enter to remove and the other two images are the props passed down to the MultiSelect component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant