F
Filament2mo ago
mg

How to pass some data to my custom view(livewire component) in filament table action?

Hi, This is my filament table action.
Action::make('setting')
->iconButton()
->icon('heroicon-o-cog-6-tooth')
->modalWidth(MaxWidth::Large)
->fillForm(fn (Website $record) => $record->toArray())
->form([
View::make('filament.components.user-shortener-settings'),
])
->modalSubmitAction(false),
Action::make('setting')
->iconButton()
->icon('heroicon-o-cog-6-tooth')
->modalWidth(MaxWidth::Large)
->fillForm(fn (Website $record) => $record->toArray())
->form([
View::make('filament.components.user-shortener-settings'),
])
->modalSubmitAction(false),
This is the action of my websites table and I am trying to pass website_id to the view(user-shortener-settings). I have tried to use viewData() method but no luck! Please help me!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server