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

Remove Selected Disables Options #118

Open
asalem1 opened this issue Apr 16, 2018 · 0 comments
Open

Remove Selected Disables Options #118

asalem1 opened this issue Apr 16, 2018 · 0 comments

Comments

@asalem1
Copy link

asalem1 commented Apr 16, 2018

This issue is similar to #109 but not entirely the same. The issue I'm encountering is that by passing removeSelected={false} as a prop (as per the documentation), the options remain, however none of the other group options are selectable. That is, that once you've selected an option from a group (with removeSelected set to false), the group options appear, but can no longer be selected. Therefore, in the case an individual wants to select multiple options from a subgroup, the functionality does not exist for it. To replicate the issue:

<Select
  multi
  noResultsText="Sorry, your request is invalid"
  onChange={this.handleChange}
  onValueClick={() => this.onValueClick()}
  options={options}
  value={selectedOption}
  removeSelected={false}
/>
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