diff --git a/src/components/Form/src/components/ApiSelect.vue b/src/components/Form/src/components/ApiSelect.vue index 8bb0bfe18..1da3e3119 100644 --- a/src/components/Form/src/components/ApiSelect.vue +++ b/src/components/Form/src/components/ApiSelect.vue @@ -73,10 +73,10 @@ return unref(options).reduce((prev, next: Recordable) => { if (next) { - const value = next[valueField]; + const value = get(next, valueField); prev.push({ ...omit(next, [labelField, valueField]), - label: next[labelField], + label: get(next, labelField), value: numberToString ? `${value}` : value, }); }