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

Cannot deselect items in grouped multiple select when data ids are not strings #3882

Closed
Jivings opened this issue Oct 29, 2015 · 5 comments · May be fixed by #6239
Closed

Cannot deselect items in grouped multiple select when data ids are not strings #3882

Jivings opened this issue Oct 29, 2015 · 5 comments · May be fixed by #6239

Comments

@Jivings
Copy link

Jivings commented Oct 29, 2015

On a multi-select, if the ID's of data items are a number, then it is impossible to deselect. I believe this is the offending code in which the id is represented internally as a string, but a number in data.id.

@Jivings
Copy link
Author

Jivings commented Oct 29, 2015

Demo here. Narrowed the issue down to only multiple selects which are grouped.

@Jivings
Copy link
Author

Jivings commented Oct 29, 2015

Fixed by making sure the comparison is always done on strings.

@Jivings Jivings changed the title Cannot deselect items when data ids are numbers Cannot deselect items in grouped multiple select when data ids are not strings Oct 29, 2015
@stale
Copy link

stale bot commented Mar 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status: stale label Mar 13, 2019
@Jivings
Copy link
Author

Jivings commented Mar 15, 2019

Still an issue.

@stale stale bot removed the status: stale label Mar 15, 2019
@stale
Copy link

stale bot commented May 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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