diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js b/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js index f06be4cc5..14de7a9bb 100644 --- a/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js +++ b/src/renderer/src/stories/pages/guided-mode/data/GuidedMetadata.js @@ -85,7 +85,7 @@ export class GuidedMetadataPage extends ManagedPage { const modal = (this.#globalModal = createGlobalFormModal.call(this, { header: "Global Metadata", propsToRemove: [...propsToIgnore], - schema: preprocessMetadataSchema(), // Provide HARDCODED global schema for metadata properties (not automatically abstracting across sessions)... + schema: preprocessMetadataSchema(undefined, true), // Provide HARDCODED global schema for metadata properties (not automatically abstracting across sessions)... hasInstances: true, mergeFunction: function (globalResolved, globals) { merge(globalResolved, globals); diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js index a206644b1..f0a01b18f 100644 --- a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js +++ b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js @@ -88,7 +88,7 @@ export class GuidedNewDatasetPage extends Page { const pages = schemaToPages.call( this, - preprocessMetadataSchema(), + preprocessMetadataSchema(undefined, true), ["project"], { validateEmptyValues: false }, (info) => { diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js b/src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js index b7b2f6622..c9c18f5d4 100644 --- a/src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js +++ b/src/renderer/src/stories/pages/guided-mode/setup/GuidedSubjects.js @@ -84,7 +84,7 @@ export class GuidedSubjectsPage extends Page { const modal = (this.#globalModal = createGlobalFormModal.call(this, { header: "Global Subject Metadata", key: "Subject", - schema: preprocessMetadataSchema().properties.Subject, + schema: preprocessMetadataSchema(undefined, true).properties.Subject, validateOnChange: (key, parent, path) => { return validateOnChange(key, parent, ["Subject", ...path]); },