- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
This is first, short issue to ensure my assumptions is correct and can be followed and confirmed.
I'll prepare a MR draft to demonstrate in which area I see the issue here. Once we're sure this is an issue, I should further improve the issue summary.
- Merge request !9882Draft: Issue #3481777 In bulk_form ensure the triggering element is the bulk_form button → (Closed) created by Anybody
- Merge request !9883Update BulkForm.php: Added draft implementation to ensure only values from the... → (Open) created by Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Okay, please see the draft implementation. I tried this with the two given examples.
From my perspective it's quite clear that this is an issue and the solution seems minimal invasive to me. Other modules, like weight, have to use a different submit button to be compatible, but this change in core won't break anything.My only concern are possible side-effects of $form_state->getTriggeringElement(). Like submitting the form with Enter? Anything known?
Other alternatives?Let's try to get this resolved in 10.4.x so that other contrib modules are able to add their actions without hacks.
Thanks!
- 🇩🇪Germany Anybody Porta Westfalica
Tests are failing, I'll have to take a look why. Still in the meantime please have a look at the general points. Thanks!