Hi,
The “invalids” slots are displayed correctly in gray in the calendar but titles aren’t there:
Here is the code:
<Eventcalendar
clickToCreate={type === "draft" || type === "all" ? "single" : false}
data={workOrders}
dateFormatLong="DDDD DD/MM"
dragToCreate={false}
dragToMove={true}
dragToResize={false}
eventOrder={sortWorkOrders}
locale={locale.fr}
onSelectedDateChange={onSelectedDateChange}
onEventClick={onWorkOrderEdit}
onEventCreated={onWorkOrderCreate}
onEventUpdated={onWorkOrderDragAndDrop}
ref={calendarRef}
renderHeader={() => <SchedulerHeader selectedDate={selectedDate} />}
renderResource={(resource: Vehicle) => (
<SchedulerResource
resource={resource}
onClick={() => {
setVehicleId(resource._id);
onVehiclePopupToggle();
}}
/>
)}
renderScheduleEvent={renderScheduleEvent}
resources={vehicles}
invalid={invalids}
selectedDate={selectedDate}
theme="windows"
themeVariant={"light"}
view={{ timeline: { type: period, eventList: true } }}
/>
Can you explain me why?
Thanks!