Skip to content

Commit

Permalink
Make select group respect closeOnSelect property (shentao#1206)
Browse files Browse the repository at this point in the history
As of current version, *select group* doesn't respect `closeOnSelect` property.
Proposed simple "fix".
  • Loading branch information
jonascarlbaum authored Feb 25, 2020
1 parent 9c1d6e6 commit 941a070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/multiselectMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,8 @@ export default {
this.id
)
}

if (this.closeOnSelect) this.deactivate()
},
/**
* Helper to identify if all values in a group are selected
Expand Down

0 comments on commit 941a070

Please sign in to comment.