[#269] fix selection error (#273)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-11-03 14:35:05 +01:00
committed by GitHub
parent ec7230fa94
commit 2cf20e9655
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -735,7 +735,7 @@ export default function EventFormFields({
)}
<Select
labelId="calendar-select-label"
value={calendarid.toString()}
value={calendarid}
label={!showMore ? "Calendar" : ""}
displayEmpty
onChange={(e: SelectChangeEvent) =>
+1 -1
View File
@@ -140,7 +140,7 @@ function EventPopover({
setLocation("");
setStart("");
setEnd("");
setCalendarid(userPersonnalCalendars[0].id);
setCalendarid(userPersonnalCalendars[0]?.id);
setAllDay(false);
setRepetition({} as RepetitionObject);
setAlarm("");