How to handle relationship #188
Unanswered
svenssontobias
asked this question in
Q&A
Replies: 1 comment 6 replies
-
The modal is generated just fine. All the properties is filled in but suddenly the error message comes |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Thanks for a very powerful integration of fullcalendar to Filament!
I've integrated fullcalendar with vue before and this developer experience is so much better!
I have two models Event and Periods. A event hasMany Periods, Periods belongsTo Event.
I get the error Call to a member function periods() on null from this CalendarWidget.
When using the EventResource, it all works fine with the repeater for Periods.
Any ideas?
Just cant get this to work.
I've also tried to "hijack" the onEventClick, to triger an action to show a slideover for the EventResource, but did not manage to get the onEventClick to trigger an Action.
Thanks in advance for all help/advice!
Beta Was this translation helpful? Give feedback.
All reactions