Fullcalendar Event/Task is not showing the data on the calendar #143
Unanswered
almasrient
asked this question in
Q&A
Replies: 1 comment
-
you need to call toArray() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Refer this link
#142 (comment)
Now, able to create the Task/Event and data has been able to be inserted into the database.
However, unable to view/show the Task/Event Title on the calendar.
Do I miss anything here is my code:
`<?php
namespace App\Filament\Widgets;
use App\Models\Task;
use Illuminate\Database\Eloquent\Model;
use Saade\FilamentFullCalendar\Widgets\FullCalendarWidget;
use Saade\FilamentFullCalendar\Actions;
// use Saade\FilamentFullCalendar\Data\EventData;
use Filament\Forms;
use Filament\Forms\Form;
use Filament\Tables;
use Filament\Tables\Table;
class CalendarWidget extends FullCalendarWidget
{
public Model | string | null $model = Task::class;
}`
Beta Was this translation helpful? Give feedback.
All reactions