diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 57a4c04b3..3d0ef0308 100644 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -422,7 +422,7 @@ export default { return this.value; }, equalityKey() { - return this.optionValue ? null : this.dataKey; + return this.optionValue ? null : this.dataKey; } } } diff --git a/src/components/listbox/Listbox.vue b/src/components/listbox/Listbox.vue index 16b2da664..37449144e 100644 --- a/src/components/listbox/Listbox.vue +++ b/src/components/listbox/Listbox.vue @@ -220,7 +220,7 @@ export default { return this.options; }, equalityKey() { - return this.optionValue ? null : this.dataKey; + return this.optionValue ? null : this.dataKey; } } } diff --git a/src/components/multiselect/MultiSelect.vue b/src/components/multiselect/MultiSelect.vue index a14e6d953..4997e1698 100644 --- a/src/components/multiselect/MultiSelect.vue +++ b/src/components/multiselect/MultiSelect.vue @@ -356,7 +356,7 @@ export default { } }, equalityKey() { - return this.optionValue ? null : this.dataKey; + return this.optionValue ? null : this.dataKey; } } } diff --git a/src/components/selectbutton/SelectButton.vue b/src/components/selectbutton/SelectButton.vue index 1937f0fb3..196ebfcef 100644 --- a/src/components/selectbutton/SelectButton.vue +++ b/src/components/selectbutton/SelectButton.vue @@ -96,7 +96,7 @@ export default { return 'p-selectbutton p-buttonset p-component p-buttonset-' + String(this.options ? this.options.length : 0); }, equalityKey() { - return this.optionValue ? null : this.dataKey; + return this.optionValue ? null : this.dataKey; } } }