Problem/Motivation
Currently, it's impossible to know which bulk actions are triggered, so it would be nice to have something like data-action-id or something similar to help target the needed action.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot from 2025-08-04 14-06-24.png | 50.53 KB | divyansh.gupta |
| #4 | Screenshot from 2025-08-04 14-05-25.png | 44.48 KB | divyansh.gupta |
| #2 | identifier_missing_for_bulk_actions-3539460-2.patch | 601 bytes | ahmad khader |
Issue fork views_bulk_operations-3539460
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ahmad khader commentedI implemented something simple for the button.
We could expand it or change to something better.
Comment #3
divyansh.gupta commentedReviewing this
Comment #4
divyansh.gupta commentedThe data-action-id attribute is correctly rendered on each bulk action button, allowing frontend code to identify which action was triggered. Matches the intent of the issue. Moving to RTBC.


Before:
After:
Comment #5
graber commentedPlease create a MR.
Comment #6
ahmad khader commentedComment #10
ahmad khader commentedComment #12
graber commented