mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4984 - PickList: metaKeySelection does not work as expected
This commit is contained in:
parent
bed811ac24
commit
ff272de38b
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ export default {
|
|||
|
||||
this.itemTouched = false;
|
||||
const selectionList = this.d_selection[listIndex];
|
||||
const selectedIndex = ObjectUtils.findIndexInList(item, this.d_selection);
|
||||
const selectedIndex = ObjectUtils.findIndexInList(item, selectionList);
|
||||
const selected = selectedIndex != -1;
|
||||
const metaSelection = this.itemTouched ? false : this.metaKeySelection;
|
||||
const selectedId = DomHandler.find(this.$refs[listType].$el, '[data-pc-section="item"]')[index].getAttribute('id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue