diff --git a/frontend/packages/volto-form-block/src/schemaFormBlock/Wrappers/DatetimeWrapper.jsx b/frontend/packages/volto-form-block/src/schemaFormBlock/Wrappers/DatetimeWrapper.jsx index 5339b51..eec8864 100644 --- a/frontend/packages/volto-form-block/src/schemaFormBlock/Wrappers/DatetimeWrapper.jsx +++ b/frontend/packages/volto-form-block/src/schemaFormBlock/Wrappers/DatetimeWrapper.jsx @@ -53,6 +53,8 @@ const DatetimeWrapper = (props) => { id, widget === 'date' ? base.format('YYYY-MM-DD') : base.toISOString(), ); + } else { + onChange(id, undefined); } };