diff --git a/src/fireedge/src/client/components/Forms/Provision/CreateForm/Steps/index.js b/src/fireedge/src/client/components/Forms/Provision/CreateForm/Steps/index.js index 2b14814954..d54835054c 100644 --- a/src/fireedge/src/client/components/Forms/Provision/CreateForm/Steps/index.js +++ b/src/fireedge/src/client/components/Forms/Provision/CreateForm/Steps/index.js @@ -42,10 +42,12 @@ const Steps = createSteps([Template, Provider, BasicConfiguration, Inputs], { }) } - const resolvedInputs = provisionTemplateSelected?.inputs?.map((input) => ({ - ...input, - value: `${inputs[input?.name]}`, - })) + const resolvedInputs = provisionTemplateSelected?.inputs?.map((input) => { + const value = inputs[input?.name] + const ensuredValue = Array.isArray(value) ? value.join(';') : value + + return { ...input, value: ensuredValue } + }) return { ...provisionTemplateSelected,