From 0581d8b5289a5a1c42dd7601e64c194df6604e13 Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:21:25 +0100 Subject: [PATCH] fix: removed no_value option from recurrence widget (#827) * fix: removed no_value option from recurrence widget * chore: removed space --------- Co-authored-by: Piero Nicolli --- RELEASE.md | 1 + .../manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index a2864c1d5..d3774576a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -53,6 +53,7 @@ ### Fix +- Rimossa l'opzione non selezionabile "nessun valore" dal widget ricorrenza. - La pagina non dà più errore quando si imposta una ricorrenza con impostazione "Termina dopo tot. ricorrenze". ## Versione 11.25.3 (12/12/2024) diff --git a/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx b/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx index 7f80eee13..05a6f5c15 100644 --- a/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +++ b/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx @@ -990,6 +990,7 @@ class RecurrenceWidget extends Component { )} value={formValues.freq} onChange={this.onChangeRule} + noValueOption={false} /> {OPTIONS.frequences[formValues.freq].interval && ( )} - {/***** byday *****/} {OPTIONS.frequences[formValues.freq].byday && ( )} - {/***** bymonth *****/} {OPTIONS.frequences[formValues.freq].bymonth && ( )} - {/***** byyear *****/} {OPTIONS.frequences[formValues.freq].byyear && ( )} - {/*-- ends after N recurrence or date --*/}