Best practice for submit from several submit buttons in LiveView form

Duplicate of https://elixirforum.com/t/live-view-2-submit-buttons-identify-which-one-was-pressed/27219 / https://github.com/phoenixframework/phoenix_live_view/issues/511

Doesn’t seem to be a reliable solution for this since the information of which button was used to submit is not propagated through the JavaScript layer LiveView relies on.