We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb7670 commit ecad2fdCopy full SHA for ecad2fd
components/vc-select/Select.tsx
@@ -207,7 +207,7 @@ export default defineComponent({
207
// ========================= Wrap Value =========================
208
const convert2LabelValues = (draftValues: DraftValueType) => {
209
// Convert to array
210
- const valueList = toArray(draftValues);
+ const valueList = draftValues !== '' ? toArray(draftValues) : [];
211
212
// Convert to labelInValue type
213
return valueList.map(val => {
0 commit comments