Ferre
Ferre
FFilament
Created by Ferre on 7/22/2024 in #❓┊help
Preview a livewire component with form in a Filament settings page, gives 500 error
Update: I have figured it out! I just needed to add a Blade component with @livewire('booking-widget', ['settings' => $settings]) and render it on the Filament page:
ViewField::make( 'preview' )
->hiddenLabel()
->view( 'filament.components.preview-booking-widget' ) ->viewData( [
'settings' => $this->settings, ] ),
ViewField::make( 'preview' )
->hiddenLabel()
->view( 'filament.components.preview-booking-widget' ) ->viewData( [
'settings' => $this->settings, ] ),
6 replies
FFilament
Created by Ferre on 7/22/2024 in #❓┊help
Preview a livewire component with form in a Filament settings page, gives 500 error
6 replies
FFilament
Created by Ferre on 7/22/2024 in #❓┊help
Preview a livewire component with form in a Filament settings page, gives 500 error
6 replies