filament-fullcalendar
filament-fullcalendar copied to clipboard
onDateSelect not triggerd (CreateForm not opened)
Version 3.2.2
I use a costum Page, for the Widget.
<x-filament-panels::page>
@livewire(\App\Livewire\ScheduleCalendarWidget::class)
</x-filament-panels::page>
` All works perfect. But the onDateSelect not triggerd. When i click a empty day, the Modal CreateForm will not open.
After that i made a test, and use your trait.
use InteractsWithEvents;
public function onDateSelect(string $start, ?string $end, bool $allDay, ?array $view, ?array $resource): void
{
dd('test');
}
This not work.
But your Create Button works.
protected function headerActions(): array
{
return [
CreateAction::make(),
];
}
This open the create form and works. But when i click a date in the calendar, the modal will not opened. And there is no erros in dev tools. I can not debug it.