Issue Bug Closed

#105758Button value is not submitted if t3js-modal-trigger is used

Benjamin Franzke 12/04/24, 09:49 updated 08/12/25, 14:35

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

  1. Gerrit Code Review pushed patch set 1 for main to change 87350 status New Under Review 12/04/24, 10:04

  2. Gerrit Code Review pushed patch set 2 for main to change 87350 12/04/24, 10:08

  3. Gerrit Code Review pushed patch set 3 for main to change 87350 12/04/24, 10:09

  4. Gerrit Code Review pushed patch set 4 for main to change 87350 12/04/24, 10:36

  5. Gerrit Code Review pushed patch set 5 for main to change 87350 12/05/24, 09:05

  6. Gerrit Code Review pushed patch set 1 for 12.4 to change 87403 12/09/24, 14:11

  7. Gerrit Code Review pushed patch set 1 for 13.4 to change 87404 12/09/24, 14:24

  8. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % 12/09/24, 15:00

    Applied in changeset commit:2f088672bf2df24c6dec820bf3c4c04d8935e3e0.

  9. Benni Mack changed status Resolved Closed 08/12/25, 14:35