F
Filamentβ€’4w ago
hxnnxs

Table/list in Modal

Hello everyone! Please tell me how I can add a table to a modal window? I need a field for entering a new card and below that a table/list of cards the user already has. P.s. I tried to draw the functionality on the screen πŸ™‚ Resource code:
Solution:
Currently you can't out of the box. You have a form and you cannot nest a table inside. BUT, what you can do: Create a Livewire component with a form and a table. Render the table below the form. Then render that Livewire component inside your actions ->modalContent()...
Jump to solution
1 Reply
Solution
Dennis Koch
Dennis Kochβ€’4w ago
Currently you can't out of the box. You have a form and you cannot nest a table inside. BUT, what you can do: Create a Livewire component with a form and a table. Render the table below the form. Then render that Livewire component inside your actions ->modalContent()

Did you find this page helpful?