Skip to content
New issue

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

Feature optional pagination #222

Merged

Conversation

bdelamatre
Copy link
Contributor

Allows pagination to be controlled using the $pagination property. True by default. Setting $pagination = false will disable pagination throughout.

Added tests.

@rappasoft rappasoft merged commit 214764e into rappasoft:develop Apr 22, 2021
@rappasoft
Copy link
Owner

Changed to $paginationEnabled in case we have more things to turn on/off we can use the convention. Thanks for writing tests!

@rappasoft rappasoft added the Awaiting Next Release Currently merged into development awaiting a release to master label Apr 22, 2021
@rappasoft
Copy link
Owner

All of a sudden psalm doesn't like the magic properties: https://github.com/rappasoft/laravel-livewire-tables/runs/2410528328?check_suite_focus=true#step:6:8

I don't know how to get it to stop worrying about that now. Weird that it didn't before.

@rappasoft
Copy link
Owner

This fixes it and should be backward compatible? We should probably steer away from the magic properties as much as we can. e0da516

@rappasoft rappasoft mentioned this pull request Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Next Release Currently merged into development awaiting a release to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants