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

Bulk Action with UUID #1602

Closed
luanfreitasdev opened this issue Jun 23, 2024 Discussed in #1601 · 1 comment · Fixed by #1624
Closed

Bulk Action with UUID #1602

luanfreitasdev opened this issue Jun 23, 2024 Discussed in #1601 · 1 comment · Fixed by #1624
Labels
bug Something isn't working

Comments

@luanfreitasdev
Copy link
Member

Discussed in #1601

Originally posted by mapism June 23, 2024
Hi, I am trying to implement a simple bulk action, but my table has UUIDs.
It seems like when clicking in the checkbox it only gets the first char of the id, so in a table like the one from the screenshot I only get "9" when console.log pgBulkActions.get()
Is this a problem with uuid or am i doing something wrong?

image

Thanks in advance for your help!

pd: notice the counter is 0, because an even number of rows is selected, so is selecting and deselecting "9".
edit: when click on "check all" checkbox it works great, even if i deselect from there it still show me the correct uuids, the problem is when i start checking rows individually.

@fantismic
Copy link

fantismic commented Jun 24, 2024

Edit2: Check all works only if no row is selected. It can select and deselect fine all rows.
Selecting and deselecting rows individually after "check all" doesnt work at all.

@luanfreitasdev luanfreitasdev added the bug Something isn't working label Jul 18, 2024
@luanfreitasdev luanfreitasdev linked a pull request Jul 19, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants