We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the current method described in the documentation:
<x-splade-table :for="$users"> <x-slot name="head"> <thead> <tr> @foreach($users->columns() as $column) <th>{{ $column->label }}</th> @endforeach </tr> </thead> </x-slot> <x-slot name="body"> <tbody> @foreach($users->resource as $user) <tr> ... </tr> @endforeach </tbody> </x-slot> </x-splade-table>
If I use a dedicated class for the instance I get the error:
Call to a member function columns() on string
If I use an inline SpladeTable class it works, but then I lose export and bulk action features.
The purpose of the override is to create a mobile responsive table using the same instance, currently needing to load two instances to get this done.
Is there a different way to allow the dedicated class instance to work with this?
The text was updated successfully, but these errors were encountered:
I'm getting same error.
Any word on this?
Thanks!
Sorry, something went wrong.
This seams to fix the issue: link
No branches or pull requests
Using the current method described in the documentation:
If I use a dedicated class for the instance I get the error:
If I use an inline SpladeTable class it works, but then I lose export and bulk action features.
The purpose of the override is to create a mobile responsive table using the same instance, currently needing to load two instances to get this done.
Is there a different way to allow the dedicated class instance to work with this?
The text was updated successfully, but these errors were encountered: