Merge pull request #32 from navedqb/fix--5455
fix: duplicate keys on search in multiselectpull/5458/head
commit
2563ab9016
|
@ -273,8 +273,8 @@ export default {
|
||||||
getOptionValue(option) {
|
getOptionValue(option) {
|
||||||
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
||||||
},
|
},
|
||||||
getOptionRenderKey(option) {
|
getOptionRenderKey(option, index) {
|
||||||
return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option);
|
return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option) + `_${index}`;
|
||||||
},
|
},
|
||||||
getHeaderCheckboxPTOptions(key) {
|
getHeaderCheckboxPTOptions(key) {
|
||||||
return this.ptm(key, {
|
return this.ptm(key, {
|
||||||
|
|
Loading…
Reference in New Issue