Skip to content

Commit

Permalink
Merge pull request #5458 from qburst/fix--5455
Browse files Browse the repository at this point in the history
fix: duplicate values on search in multiselect
  • Loading branch information
tugcekucukoglu authored Mar 28, 2024
2 parents 6b04205 + 2563ab9 commit 45a4b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/multiselect/MultiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ export default {
getOptionValue(option) {
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
},
getOptionRenderKey(option) {
return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option);
getOptionRenderKey(option, index) {
return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option) + `_${index}`;
},
getHeaderCheckboxPTOptions(key) {
return this.ptm(key, {
Expand Down

0 comments on commit 45a4b25

Please sign in to comment.