Skip to content
Snippets Groups Projects
Commit dec6f5bf authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Richard Haeser
Browse files

[BUGFIX] Re-validate changed fields only

Probably since ever, FormEngine validates the whole form when a field
changed or an IRRE item got removed. This patch introduces the following
changes:

- only fields affected by the `change` event get validated
- FormEngineValidation.validate() accepts an optional argument to define
  the container whose fields get validated. If omitted, the whole form
  is validated.

Resolves: #93046
Releases: master, 10.4
Change-Id: I48d2f597c88815ebc0374bb02cf0aed6ac4086fe
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67094


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
parent 117eef29
Branches
Tags
Showing
with 68 additions and 48 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment