How to receive a model in the widget #217
Unanswered
PrasadChinwal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have generated a filament page which then has the calendar widget rendered. Ex. https://filamentphp.com/plugins/saade-fullcalendar#adding-the-widget-to-a-blade-view
I have linked the page in my resource which also passes it a record.
filament.pages.instructor-calendar
How can I access the record in my calendar widget? I am hoping to filter the events for the specific
instructor
using the$record
When I dump the
$this->record
I get an errorTyped property Saade\FilamentFullCalendar\Widgets\FullCalendarWidget::$record must not be accessed before initialization
Beta Was this translation helpful? Give feedback.
All reactions