diff --git a/__tests__/validations/component.test.tsx b/__tests__/validations/component.test.tsx index 0afafdfc..2f24b9b3 100644 --- a/__tests__/validations/component.test.tsx +++ b/__tests__/validations/component.test.tsx @@ -945,6 +945,9 @@ test('Success when the reconfigure configuration options of the prefabs are vali type: 'TEXT', value: 'New property', }, + createActionInputVariable: { + type: 'TEXT', + }, manageObjectValues: { selectableObjectKey: true, buttonLabel: 'Manage something', diff --git a/src/validations/prefab/componentOption.ts b/src/validations/prefab/componentOption.ts index 5f3c806a..98a4c825 100644 --- a/src/validations/prefab/componentOption.ts +++ b/src/validations/prefab/componentOption.ts @@ -81,6 +81,11 @@ const optionConfigurationSchema = Joi.when('type', { type: Joi.string(), value: Joi.string().allow(''), }), + createActionInputVariable: Joi.object({ + name: Joi.string(), + type: Joi.string().required(), + value: Joi.string().allow(''), + }), manageObjectValues: Joi.object({ selectableObjectKey: Joi.boolean().optional(), buttonLabel: Joi.string().optional(),