Fixed #1037 - Dropdown optionDisabled is not working
parent
146cc6b70d
commit
52429b0efe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue