From ff272de38b719c86e831501a949815a7cdace2c9 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 20 Dec 2023 13:22:35 +0300 Subject: [PATCH] Fixed #4984 - PickList: metaKeySelection does not work as expected --- components/lib/picklist/PickList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/picklist/PickList.vue b/components/lib/picklist/PickList.vue index 583b8c173..3d6781926 100755 --- a/components/lib/picklist/PickList.vue +++ b/components/lib/picklist/PickList.vue @@ -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');