update story example code

This commit is contained in:
Jacob Overgaard
2024-03-13 16:08:56 +01:00
parent 819062af42
commit 2fd148c624

View File

@@ -56,7 +56,7 @@ const modalData: UmbDocumentScheduleModalData = {
};
const modalValue: UmbDocumentScheduleModalValue = {
selection: ['en-us'],
selection: [{ unique: 'en-us', schedule: null }],
};
const meta: Meta<UmbDocumentScheduleModalElement> = {
@@ -103,7 +103,10 @@ this.consumeContext(UMB_MODAL_MANAGER_CONTEXT, (modalManager) => {
},
},
],
}
},
value: {
selection: [{ unique: 'en-us', schedule: null }],
},
}).onSubmit().catch(() => undefined);
});
`,