Skip to content

Commit 7f018e5

Browse files
committed
chore: commenti
1 parent 8602b9c commit 7f018e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/customizations/volto/components/manage/Widgets/DatetimeWidget.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ const DatetimeWidgetComponent = (props) => {
178178
const datetime = getInternalValue();
179179
const isDateOnly = getDateOnly();
180180

181+
//pezzo aggiunto per gestire aria-required - https://github.com/plone/volto/pull/7494
181182
useEffect(() => {
182183
const dateSelectors = [
183184
`#${id}-date`,
@@ -233,6 +234,7 @@ const DatetimeWidgetComponent = (props) => {
233234
if (id === 'end' && formData?.open_end) {
234235
return null;
235236
}
237+
// fine pezzo aggiunto per gestire aria-required
236238

237239
return (
238240
<FormFieldWrapper {...props}>

0 commit comments

Comments
 (0)