filament-fullcalendar icon indicating copy to clipboard operation
filament-fullcalendar copied to clipboard

onDateSelect not triggerd (CreateForm not opened)

Open David-Grass-Feria opened this issue 7 months ago • 3 comments

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.

David-Grass-Feria avatar Jun 25 '24 16:06 David-Grass-Feria