From 86945d7980489e8664e93bc30b7880fec21f5c97 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 4 Mar 2020 09:39:29 +0300 Subject: [PATCH] Fixed #221 - Primitive values support in Select components --- src/components/multiselect/MultiSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/multiselect/MultiSelect.vue b/src/components/multiselect/MultiSelect.vue index 9c5c9633b..4005a9ac5 100644 --- a/src/components/multiselect/MultiSelect.vue +++ b/src/components/multiselect/MultiSelect.vue @@ -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;