Embed widget in form tab #5022
Unanswered
ashleyhood
asked this question in
Help
Replies: 1 comment 1 reply
-
I'm also curious about this. I have some tables as widgets for my user and displaying data, and I want to just nest them in tabs but doesn't appear to be much docs wise on it. Plenty of information on the form builder, but not much on getting it working with table/admin panel stuff. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
ClientResource
and inapp/Filament/Resources/ClientResource/Pages/ViewClient
mygetFormSchema
method has aTabs
component. In one of the tabs, I want to render a widget (saad/filament-fullcalendar). What is the recommended way of rendering widgets in aView
component?I have tried adding
@livewire(\Livewire\Livewire::getAlias($widget), $data, key($widget))
to theView
but when I switch away from the tab with the widget and then switch back to it, I get the errorinitialData is null
in the browser console and the widget does not render.If I set the
key
tokey(time())
it works but that seems like I'm doing something wrong.Beta Was this translation helpful? Give feedback.
All reactions