Skip to content

Commit

Permalink
Fixed #2341 - Multiselect adds items previously selected by clicking …
Browse files Browse the repository at this point in the history
…on the "select all" toggle ('Advanced with Templating and Filtering')
  • Loading branch information
mertsincan committed Nov 4, 2021
1 parent 4aba799 commit ece0523
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/multiselect/MultiSelect.js
Expand Up @@ -334,8 +334,6 @@ export class MultiSelect extends Component {
else {
value = visibleOptions.map(option => this.getOptionValue(option));
}

value = [...new Set([...value, ...(this.props.value||[])])];
}

this.updateModel(event.originalEvent, value);
Expand Down

0 comments on commit ece0523

Please sign in to comment.