diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index ba04cbfc2f..359a0a6549 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -365,7 +365,7 @@ const getIssues = computed(() => { if (Array.isArray(displayValue.value)) { checkValues = checkValues.concat(displayValue.value); } else { - checkValues = checkValues.concat(displayValue.value?.toString().split(',')); + checkValues.push(displayValue.value); } } diff --git a/packages/editor-ui/src/components/ParameterInputWrapper.vue b/packages/editor-ui/src/components/ParameterInputWrapper.vue index 2027294400..f0db8cc457 100644 --- a/packages/editor-ui/src/components/ParameterInputWrapper.vue +++ b/packages/editor-ui/src/components/ParameterInputWrapper.vue @@ -132,10 +132,10 @@ const evaluatedExpression = computed>(() => { } if (props.isForCredential) opts.additionalKeys = resolvedAdditionalExpressionData.value; - const stringifyExpressionResult = props.parameter.type !== 'multiOptions'; + const stringifyObject = props.parameter.type !== 'multiOptions'; return { ok: true, - result: workflowHelpers.resolveExpression(value, undefined, opts, stringifyExpressionResult), + result: workflowHelpers.resolveExpression(value, undefined, opts, stringifyObject), }; } catch (error) { return { ok: false, error };