Bulk (de)select should respect delaySelectAll
?
#2022
edwinvdpol
started this conversation in
General
Replies: 1 comment
-
Now that's a good question, and one that I'll answer over the next few days, just wanted to acknowledge the question so that I don't lose track of it. The delaySelectAll was a bit of a rush job, so yes, clearSelected does need amending to respect it, it's just not there quite yet. But to answer - yes the laravel-livewire-tables.js code is used, is there a particular line you were trying to reference? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a question regarding the bulk select checkbox.
Can you tell me why you use
$wire.clearSelected()
and$wire.setAllSelected()
here, instead ofclearSelected()
(here) andsetAllSelected()
(here)?This will prevent a re-render (depending on the
delaySelectAll
property), which I was looking for.At this point, this property is ignored in the first place.
Also, the
delaySelectAll
should also apply to theclearSelected()
javascript method here, right?Hope to hear your thoughts about this.
Best regards,
Edwin
EDIT: PS: Is this javascript even used?
Beta Was this translation helpful? Give feedback.
All reactions