Skip to content
Commit 55d3fce3 authored by Ralf Zimmermann's avatar Ralf Zimmermann Committed by waldhacker
Browse files

[BUGFIX] Apply initial value to additional form element property paths

Adding a new validator to a form element in form editor led to an
error if the validator defines additionalElementPropertyPaths. This
happened because the initial value of those property paths was not
applied to the form element when the validator was added. Therefore, it
was not possible to unset those values as they did not exist unless
their initial value has changed.

With this patch applied, the initial value of validator options is now
passed to all properties of additionalElementPropertyPaths as well.

Resolves: #97040
Releases: main, 11.5
Change-Id: Ife242a48276789fcad6a47679478b68d79e78e6b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74445


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarElias Häußler <e.haeussler@familie-redlich.de>
Tested-by: default avatarwaldhacker <hello@waldhacker.dev>
Reviewed-by: default avatarElias Häußler <e.haeussler@familie-redlich.de>
Reviewed-by: default avatarwaldhacker <hello@waldhacker.dev>
parent 9cdfa70c
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