© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Jesse Hendriks

Using Torchlight in Action with custom modal content

In my project I'm using Torchlight.dev. When using this on a Filament page it works perfectly. But when I want to use it in a action with custom modal content it is not rendered.

The problem is also described in the docs of torchlight: https://torchlight.dev/docs/clients/laravel#un-rendered-blocks. I obviously registered the middleware, since it is working on the pages. But how can I make it work inside the action?

Filament v3 (v3.0.39)

Tables\Actions\Action::make('embed')
    ->label(__('Integration Code'))
    ->button()
    ->outlined()
    ->modalSubmitAction(false)
    ->icon('heroicon-o-code-bracket')
    ->slideOver()
    ->modalContent(fn(): View => view('filament.site.pages.flow-embed-info-page')),
Tables\Actions\Action::make('embed')
    ->label(__('Integration Code'))
    ->button()
    ->outlined()
    ->modalSubmitAction(false)
    ->icon('heroicon-o-code-bracket')
    ->slideOver()
    ->modalContent(fn(): View => view('filament.site.pages.flow-embed-info-page')),
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Action in custom modal content: Update modal content after action performed?
FilamentFFilament / ❓┊help
2y ago
Using scripts in action modal content
FilamentFFilament / ❓┊help
3y ago
Wizard modal with custom modal content
FilamentFFilament / ❓┊help
3y ago
Issue with using an InfoList with Actions inside a modal action with custom modal content
FilamentFFilament / ❓┊help
4mo ago