diff --git a/src/validations/prefab/componentOption.ts b/src/validations/prefab/componentOption.ts index da895a50..af58b730 100644 --- a/src/validations/prefab/componentOption.ts +++ b/src/validations/prefab/componentOption.ts @@ -58,8 +58,8 @@ const optionConfigurationSchemaBase = { showOnDrop: Joi.boolean(), showTextStyleColor: Joi.boolean(), pushToWrapper: Joi.object({ - name: Joi.string(), - condition: optionConditionSchema, + name: Joi.string().required(), + condition: optionConditionSchema.optional(), }), };