F
Filament13mo ago
Vp

Open modal and display infolist data from table inside page

What I am trying to do: I am trying to open a modal when the table action is click, and inside that modal I want to display data using infolist. What I did I am stuck with opening modal and display infolist. If I use ->form() with textinput then it can open, but inside modal I want to render infolist data.
Tables\Actions\Action::make('detail')
->form([
TextInput::make('title'), // if I remove this, modal cannot open and I cannot render infolist data here
])
->slideOver(),
Tables\Actions\Action::make('detail')
->form([
TextInput::make('title'), // if I remove this, modal cannot open and I cannot render infolist data here
])
->slideOver(),
Can anyone guide me to the correct approach, and thanks in advance. Note: This is inside Pages make:filament-page
Solution:
Haaaa. I replace form with infolist and now it's working.. I think i missed in docs
Jump to solution
1 Reply
Solution
Vp
Vp13mo ago
Haaaa. I replace form with infolist and now it's working.. I think i missed in docs
Want results from more Discord servers?
Add your server