Fixed #221 - Primitive values support in Select components
parent
1b14a1ed30
commit
86945d7980
|
@ -95,7 +95,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
getOptionLabel(option) {
|
||||
return ObjectUtils.resolveFieldData(option, this.optionLabel);
|
||||
return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
|
||||
},
|
||||
getOptionValue(option) {
|
||||
return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
|
||||
|
|
Loading…
Reference in New Issue