Open
Description
See also: https://caniuse.com/#feat=form-submit-attributes
This would be awesome considering that form
elements are not allowed to be nested. For constructing a formset with some buttons that do something with individual objects (move up/down, delete, ...) there are currently no good options.
- Making the layout so that the forms aren't nested is a pain and shouldn't be necessary.
- Detecting that we actually want to do something completely different than edit the entire formset on the server is hacky.
- The best option by far of course is to just write the button element by hand instead of using the
bootstrap_button
tag. But it would still be nice not to have to do that.
If this is considered a worthwhile addition, I'm prepared to implement it.