#105758Button value is not submitted if t3js-modal-trigger is used
Description
A form button value is not submitted if the CSS class t3js-modal-trigger is used to trigger a confirmation modal.
Example code:
<button
type="submit"
class="btn btn-default t3js-modal-trigger"
form="myform"
name="foo"
value="bar"
>Remove</button>
<form id="myform" method="post"></form>
Expected payload to be sent to the server when confirmation modal is clicked: ['foo' => 'bar']
Actually sent: []
Reviews 3
History 29
-
Gerrit Code Review pushed patch set 1 for main to change 87350 status
NewUnder Review 12/04/24, 10:04 -
Gerrit Code Review pushed patch set 2 for main to change 87350 12/04/24, 10:08
-
Gerrit Code Review pushed patch set 3 for main to change 87350 12/04/24, 10:09
-
Gerrit Code Review pushed patch set 4 for main to change 87350 12/04/24, 10:36
-
Gerrit Code Review pushed patch set 5 for main to change 87350 12/05/24, 09:05
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 87403 12/09/24, 14:11
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87404 12/09/24, 14:24
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % 12/09/24, 15:00 -
Benni Mack changed status
ResolvedClosed 08/12/25, 14:35
Applied in changeset commit:2f088672bf2df24c6dec820bf3c4c04d8935e3e0.