Replies: 4 comments 3 replies
-
You should be able to use the "v3-develop" branch now. Please jump on the discord to ping myself/Rappasoft if anything is immediately seeming odd! |
Beta Was this translation helpful? Give feedback.
-
Updates to Develop:
New Feature - Append and Prepend ColumnsThis provides the ability to prepend/append columns to your array. Allowing you to use a trait/method in your component (e.g. if you have a standard set of columns that you always want to put on the end/start of your table) To mitigate the pain of maintaining this, two new methods have been introduced. These methods both function in exactly the same way as your standard columns(), and expect an array of columns. Any columns defined in prependColumns() will be the first columns in your list of columns.
Any columns defined in appendColumns() will be the last columns in your list of columns.
You can call these in your trait, and they will be automatically appended/prepended to tables. For example, to append a Column for Updated At
|
Beta Was this translation helpful? Give feedback.
-
Noting that v3 is now released as stable 3.1.0 |
Beta Was this translation helpful? Give feedback.
-
resources / views / vendor / livewire-tables / components / tools / filters / text-field.blade.php Undefined variable $component i upgraded from livewire 2 to livewire 3. What's wrong? |
Beta Was this translation helpful? Give feedback.
-
Please Note
With the stable release of Livewire 3.0, v3 of this package is now released, the recommendation is notv publish views, as they may be subject to change at short notice to address any issues raised.
Once Livewire v3 is in use, v3 of this package should be used.
Potential Breaking Changes
Multiple Relationships to Same Model/Table
If your table component has multiple relationships to the same table, then please see this PR for more information:
Allow multiple relationships on same table #1190
This PR has been adjusted and merged into V3.0
View/Blade Changes
There have been numerous changes to the blades/views. If you have previously published the views, then you will experience a breaking change unless you remove the published views. We recommend not publishing views unless you have a specific use case. It is almost always possible to make necessary adjustments using the built-in methods!
Configure() New Methods
Pagination
Bootstrap Striping
Bootstrap striping is now working as standard
Icons
The package now uses HeroIcons instead of hard-coded SVGs for icons to improve performance and standardise the look & feel.
Filter Improvements
New Filters
There are two new filters:
NumberRange filter (No 3rd party dependency)
DateRange filter (using Flatpickr)
If you would like to more smoothly filter your query by a start and end date, you can use the new DateRangeFilter:

JS/CSS Injection
This package uses the same approach as Livewire 3.0 for injecting the relevant JS and CSS files. It is recommended during the beta that you utilise the injection method for this package, however you can also choose to manually include the files, or reference them in your app.js should you choose. See the docs for more details
These files are used for:
It is recommended to allow the injection, or include the files in your build process, even if you are not using any of this functionality, to avoid Alpine errors.
Reordering
If you are using the reorder functionality, then you no longer require the 3rd party library, and should remove it, as it is not supported with Livewire v3.
Additional Documentation
The v3 documentation is now available on the Rappasoft Website.
Issues
When raising an issue, please make sure to first check for an existing issue before raising a new issue.
Please try to add all relevant information, particularly theme and versions, as this helps massively when trying to replicate an issue. Screenshots, both of the issue, and any logs are also massively appreciated.
Feedback
If you are able to, it'd be appreciated if you could let us know that you're testing the beta on the Discord:
https://discord.gg/mkmEfq7hUC, and do feel free to ask if you come across something!
We have done our best to make migrating as simple as possible, however there are a couple of changes that you may need to make!
Beta Was this translation helpful? Give feedback.
All reactions