You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But after click to "Save" button, whole editor creashed.
When I add an initial value to the date schema, the editor does not crash. But editor nocognize a change. If I trigger the change something else then this component disaperea after saving.
When I have
date
ordatetime
field in a schema, the editing procces broke.Work OK, but I need a date.
After adding this component to the document, Editor will trigger document modification → "Unsave" badge appears.
But after click to "Save" button, whole editor creashed.

When I add an initial value to the date schema, the editor does not crash. But editor nocognize a change. If I trigger the change something else then this component disaperea after saving.
export const MyComponenet = component({ label: 'Registrace na REJUMP', preview: (props) => { return <pre>{JSON.stringify(props, null, 2)}</pre>; }, schema: { startDate: fields.date({ label: 'My Date', + defaultValue: { kind: 'today' }, }), price: fields.integer({ label: 'My Price', defaultValue: 0, validation: { isRequired: true, min: 1, }, }), }, });
Dependencies
@keystatic/core
: 0.5.32,@keystatic/next
: 5.0.1The text was updated successfully, but these errors were encountered: