diff --git a/src/organisms/gv-resources/gv-resources.js b/src/organisms/gv-resources/gv-resources.js index 111fb36f..5cbcd560 100644 --- a/src/organisms/gv-resources/gv-resources.js +++ b/src/organisms/gv-resources/gv-resources.js @@ -135,10 +135,11 @@ export class GvResources extends KeyboardElement(LitElement) { }; const schema = typeof resourceType.schema === 'string' ? JSON.parse(resourceType.schema) : resourceType.schema; + const req = schema.required ? schema.required : []; return { properties: { ...defaultSchema.properties, ...schema.properties }, - required: [...defaultSchema.required, ...schema.required], + required: [...defaultSchema.required, ...req], }; }