diff --git a/src/front/src/components/calendar_of_events/EventCreate.vue b/src/front/src/components/calendar_of_events/EventCreate.vue
index 88cabbed6..25403ac93 100644
--- a/src/front/src/components/calendar_of_events/EventCreate.vue
+++ b/src/front/src/components/calendar_of_events/EventCreate.vue
@@ -4,7 +4,7 @@
:newOrOld="isNewEvent"
@postData="postData"
@closeDialog="$emit('closeDialog')"
- @delObject="delEvent(propsEvent?.event?.id)"
+ @delObject="delEvent(form.id)"
>
@@ -19,7 +19,7 @@
row-height="25"
rows="1"
variant="outlined"
- v-model="propsEvent.event.name"
+ v-model="form.name"
:rules="rules.name"
>
@@ -50,7 +50,7 @@
class="py-3 my-select"
return-object
:rules="rules.calendar"
- :disabled="'id' in propsEvent.event"
+ :disabled="'id' in form"
auto-select-first
>
@@ -65,7 +65,6 @@
:value="item"
color="primary"
v-bind="props"
- @click.stop="handleCalendarSelect(item.raw)"
:data-calendar-id="item.raw.id"
>
@@ -73,6 +72,18 @@
+
+
+
+
+
+
+
+
@@ -81,10 +92,10 @@
@@ -93,18 +104,18 @@
@@ -144,7 +155,7 @@
:dateEvent="repeatEndDate ? String(repeatEndDate) : String(new Date())"
@update:dateEvent="updateRepeatEndDate"
class="wide-time-select"
- :limitation="String(propsEvent.event.date_start)"
+ :limitation="String(form.date_start)"
:isEndDateEnabled="!showRepeatEnd"
/>
@@ -160,7 +171,7 @@
@@ -173,7 +184,7 @@
rows="3"
variant="outlined"
auto-grow
- v-model="propsEvent.event.description"
+ v-model="form.description"
class="scrollable-textarea pt-3"
>
@@ -183,7 +194,7 @@
-