Issue Bug Closed

#107437Form module: Misleading and annoying Pop up

Marc Willmann 09/11/25, 13:45 updated 12/02/25, 13:04

Description

While in edit-mode in a form without changing anything, sometimes the message

“Do you want to quit without saving? You have currently unsaved changes. Are you sure that you want to discard all changes?”

pops up. This seems to be related to the “required” flag of a field.

Steps to reproduce:

- create a simple form with two text fields “Name” and “Name 2”. Let “Name 2” be required.
- Save and close the form.
- Open the form again. Klick on “Name 2” and then “close” the form. The “You have currently unsaved changes” pops up.

Expected behaviour

If nothing has been changed by the editor, the form is simply closing. This is also the way it works when using the “Name” field in the example (which is not required) – this works as expected.

Tested and checked against TYPO3 13.4.18, also on https://demo.typo3.org/ (13.4.15) which behaves identical.

Reviews 2

History 24

  1. Gerrit Code Review pushed patch set 1 for main to change 90770 status New Under Review 09/23/25, 07:49

  2. Gerrit Code Review pushed patch set 1 for 13.4 to change 90775 09/23/25, 13:53

  3. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % 09/23/25, 13:55

    Applied in changeset commit:b4bc1203b1cc611880bd09174f8b37752efd8591.

  4. Benni Mack changed status Resolved Closed 12/02/25, 13:04