fixes duplicate keys on search in multiselect
parent
71db0aea00
commit
4d942f4e02
|
@ -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