Error on counter using #1390
YnievesDotNet
started this conversation in
BUG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In one button I put this section to check the count of checkbox selected
(<span x-text="window.pgBulkActions.count(\''.$this->tableName.'\')"></span>)
and I added a function to clear the selection after the button procedure, because I need reset the selected items
private function clearCheckbox(): void { $this->checkboxValues = []; }
The checkbox pass to unchecked but the counter continue with the old number.
How I can fix that.
Beta Was this translation helpful? Give feedback.
All reactions