Issue Bug Under Review

#107455 File/FAL fields ignore onChange='reload' configuration in FormEngine

Wolfgang Klinger 09/14/25, 13:37 updated 11/16/26, 13:39

Description

Current Behavior

When configuring a file/FAL field (type=‘file’) with onChange=‘reload’ in TCA, the form does not reload when files are added, removed, or reordered. This differs from the behavior of other field types (input, select, etc.) where onChange=‘reload’ triggers a form reload with a confirmation dialog.

Expected Behavior

File/FAL fields should respect the onChange=‘reload’ configuration and trigger a form reload (with confirmation if configured) when the field value changes, consistent with other field types.

Steps to Reproduce

1. Add onChange=‘reload’ to a file field in TCA:

$GLOBALS['TCA']['pages']['columns']['media']['config']['onChange'] = 'reload';

2. Edit a page record in the backend
3. Add or remove a file in the media field
4. Observe that no reload confirmation appears and the form doesn’t reload

Reviews 1

History 221

  1. Gerrit Code Review pushed patch set 1 for main to change 92010 status Accepted Under Review <span data-processor="relativetime" data-value="2025-12-05T14:19:15+00:00" > 12/05/25, 14:19 </span>