diff --git a/src/renderer/src/stories/JSONSchemaForm.js b/src/renderer/src/stories/JSONSchemaForm.js index 7a8df986f..9db00e193 100644 --- a/src/renderer/src/stories/JSONSchemaForm.js +++ b/src/renderer/src/stories/JSONSchemaForm.js @@ -723,7 +723,9 @@ export class JSONSchemaForm extends LitElement { const regex = new RegExp(schema.pattern); if (!regex.test(parent[name])) { errors.push({ - message: `${schema.title ?? header(name)} does not match the required pattern (${schema.pattern}).`, + message: `${schema.title ?? header(name)} does not match the required pattern (${ + schema.pattern + }).`, type: "error", }); }