diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue
index ddcffbb42..14dce166e 100755
--- a/src/components/dropdown/Dropdown.vue
+++ b/src/components/dropdown/Dropdown.vue
@@ -31,7 +31,7 @@
-
+ :key="getOptionRenderKey(option, i)" @click="onOptionSelect($event, option)" role="option" :aria-label="getOptionLabel(option)" :aria-selected="isSelected(option)">
{{getOptionLabel(option)}}
@@ -41,7 +41,7 @@
{{getOptionGroupLabel(optionGroup)}}
-
+ :key="getOptionRenderKey(option, i)" @click="onOptionSelect($event, option)" role="option" :aria-label="getOptionLabel(option)" :aria-selected="isSelected(option)">
{{getOptionLabel(option)}}
@@ -189,8 +189,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.toString();
},
isOptionDisabled(option) {
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;