render a filament table using blade
`Hello,
how can you create a table in a blade template.
We pass some data into a blade template and try to render a table.
Unfortunately, we are not quite sure how this should work.
The table should be displayed in a modal
11 Replies
Additional:
I built a table randomly to check if the content is above the table again like using
Usually, you dont need to recreate the table in blade
If you have a form in a livewire component, and that livewire component points to the table, then all you need to do is add
{{$this->table}}
in your bladeThis is the table in the in a rlationsmanager
if I click on the details on the right, this opens a modal:
https://zockerbandewqhd.nimbusweb.me/box/attachment/10152699/651pvekkv86lfw2r1zzb/JTS1kPXe0m0S1g3B/screenshot-login.e-recht24.localhost-2024.01.25-17_17_12.png
at the red marked place should be a table with other informations form
$mail
in the blade
this modal is rendered via blade
So we don't have a livewire for thisOhh you want to add a table insde a slideover
the question is: why is the table content be rendered outside the
<table>
YesHmm, Im not sure if thats possible
If it is, im not sure how. Sorry :/
Render a table with just blade is going to be a nightmare. What you can do is create a livewire component for just the table and include that in your modal’s view blade file with @livewire(‘livewire-table-component’)
The implementation is very dirty xd