laravel-livewire-tables
laravel-livewire-tables copied to clipboard
A dynamic table component for Laravel Livewire
**Take the following relationship** Model `Address`, which has a `morphTo()` method and has `addressable_id` and `addressable_type` columns. Model `User` , which has `MorphOne()` that points to the address model. If...
### Discussed in https://github.com/rappasoft/laravel-livewire-tables/discussions/786 Originally posted by **inmanturbo** May 22, 2022 Bulk selection column ignores `setTheadAttributes` and `setTdAttributes`. Two easy options for fixing are to use conditional and override from...
### All Submissions: * [x] Have you followed the guidelines in our Contributing document? * [x] Have you checked to ensure there aren't other open [Pull Requests](../../../pulls) for the same...
Hi. I updated composer and Im not getting this error `Call to undefined method Rappasoft\LaravelLivewireTables\Views\Column::getHash()` Everything is up-to date and I cant see what is causing it. Any ideas on...
Let's say you have an **image** field on your table. The current solution for **ImageColumn** will not query the **image** column from the database because somehow the existing label callback...
Let's say I have two models, `Employee` and `Company` and `Employee` belongsTo `Company`. I want to have a simple datatable listing employees and respective companies. The column definition would be...
I found that `excludeFromColumnSelect` wasn't working corectly. E.g ```php Column::make('Actions', 'actions') ->excludeFromColumnSelect() ->view('tables.columns.actions') ```
For some reason if datatable is above simple table with links it throws this exception https://flareapp.io/share/17D2EGvm Commenting out ``` $bills->links() ``` or moving datatable below this code, solves and issue....
Where is no way to pass custom model namespace. I'm using `spatie/laravel-event-sourcing` and my models is in `\App\Projections` folder, so when I trying create table I getting an error: ```...
In the column visibility and results per page selector, the controls are not using the themed inputs in bootstrap-5 theme. For checkboxes `form-check` class must be added to the wrapper...