rappasoft/laravel-livewire-tables
Laravel Livewire Tables provides dynamic, feature-rich data tables for Laravel Livewire with sorting, searching, filtering, pagination, bulk actions, and Bootstrap/Tailwind support. Build reusable table components backed by Eloquent queries.
Fixes
Enhancements
Fixes
Enhancements
Blades
General
Filters
Documentation
Tests
Localization
AlpineJS Variable for Toolbar Dropdowns to force the dropdown to remain open - childElementOpen - https://github.com/rappasoft/laravel-livewire-tables/pull/1076
Added Custom Column Slug method setCustomSlug('') allowing Columns to use non-roman characters in the Column Title - https://github.com/rappasoft/laravel-livewire-tables/pull/1088
Eager loading so anyone can load any type of relationship - https://github.com/rappasoft/laravel-livewire-tables/pull/943
Improved visibility of active page in pagination - https://github.com/rappasoft/laravel-livewire-tables/pull/1096
Pagination methods
Filter Changes - https://github.com/rappasoft/laravel-livewire-tables/pull/1129
Filters
Workflow Changes
Testing
standard or simpleconfigure() method.setCallback().setThSortButtonAttributes() to set attributes for th sort button.setHideConfigurableAreasWhenReorderingStatus() to hide configurable areas when reordering status which now defaults to true.builder() and columns() methods.setAdditionalSelects(array $selects) configuration method.Configurable Areas of the Datatable section of the documentation.Ground Up Rebuild
Secondary Header Functionality on how to implement column search)This release requires re-publishing of assets.
This release requires re-publishing of assets.
if statements.setTableRowClass, setTableRowId, setTableRowAttributes, setTableDataClass, setTableDataId, setTableDataAttributes methods to modify cells and rows depending on data for non-custom rows.text-secondary class from sorting titlekeep-alive and visible.$searchFilterDebounce, $searchFilterDefer, $searchFilterLazy, for defining the search input data binding property. https://github.com/rappasoft/laravel-livewire-tables/pull/211Amending Documentation for Reordering
Adding capabilities & tests for setTrAttributes
Force calculation of even/odd only once in reorder mode
Call internal method for reordering, and pass to configured method to process
Amend AutoInjection/FrontendAsset to ensure it returns the original content correctly
Remove errant disabling of Blade Directives when disabling auto-injection
Amended in-line config documentation
Add setSearchFieldAttributes() and getSearchFieldAttributes()
Add missing pagination tests
Removal of setSearchLazy
Fix for setSearchDebounce
Fix publishing of views
Fix for Bulk Actions dropdown not working in Bootstrap
Fix for Column Select "Select All" not consistently updating
Fix for lazy loading of table
Fix for ColumnSelect falling out of sync, displaying unselectable colums, or persisting cols in query that are not selected
Add setSearchBlur()
Add setSearchThrottle()
Add publish translations
Add prependColumns() and appendColumns() functions
Add documentation for setSearchPlaceholder()
Add setExcludeDeselectedColumnsFromQueryEnabled and setExcludeDeselectedColumnsFromQueryDisabled methods to configure()
Requirements Change
Core Changes
Move sorts, search, selectedColumns out of the traditional $this->{$this->getTableName()}['sorts'] and instead place it directly within the component. This:
Tidying
Features
General
Filters
Livewire 3 Specific
Test Changes
Temporarily removed the sort_events_apply_correctly and filter_events_apply_correctly due to LW3 not using Emit anymore.
Added extra column to the PetsTable -> last_visit and associated test changes to make the counts work. This column is deselected() by default to allow for testing on those methods.
Doc Changes
How can I help you explore Laravel packages today?