Fixed #1192 - Disabled options do not get disabled
parent
7634c02295
commit
af4f9183a3
|
@ -154,7 +154,7 @@ export default {
|
|||
return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option);
|
||||
},
|
||||
isOptionDisabled(option) {
|
||||
return this.optionDisabled ? option.optionDisabled : false;
|
||||
return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
||||
},
|
||||
getOptionGroupRenderKey(optionGroup) {
|
||||
return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
|
||||
|
|
Loading…
Reference in New Issue