From 52429b0efe7b842db936a984277f09dc085639b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 25 Mar 2021 14:34:14 +0300 Subject: [PATCH] Fixed #1037 - Dropdown optionDisabled is not working --- src/components/dropdown/Dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 0b434fe40..9da5fa5da 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -147,7 +147,7 @@ export default { return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option); }, isOptionDisabled(option) { - return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false; + return this.optionDisabled ? option.optionDisabled : false; }, getOptionGroupRenderKey(optionGroup) { return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);