#98210multiValueProperties not settable by hook buildFormDefinitionValidationConfiguration
Description
Hi.
I created a new single select form element with a custom multi select form editor to select the options. While saving the form TYPO3 complains about the missing HMAC. After some fiddling and searching around, I came across \TYPO3\CMS\Form\Domain\Configuration\FrameworkConfiguration\Extractors\FormElement\MultiValuePropertiesExtractor which seems to do the stuff I needed, but unfortunatly only for a fixed subset of inspector editors is allowed. If I add my custom editor here too (Seems that I need to add only $result[‘formElements’][$formElementType][‘multiValueProperties’][] = ‘options’; for my Inspector-CustomMultiSelectEditor), everything works as expected.
Later on I discovered the hook $GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘ext/form’][‘buildFormDefinitionValidationConfiguration’] and regarding the documenation (https://docs.typo3.org/c/typo3/cms-core/9.5/en-us/Changelog/8.7.x/Important-85044-FilterDisallowedPropertiesInFormEditor.html) this should be the way to go to set the properties to allow saving mit custom editor data. But I am not able to pass “properties.options” and “options” to the “multiValueProperties” element.
Looks like there is something missing in the form-extension to handle this?
How do I set “multiValueProperties”?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Netresearch DTT GmbH commented <span data-processor="relativetime" data-value="2022-08-26T10:15:55+00:00" > 08/26/22, 10:15 </span>
-
Josua Vogel changed Related to #105440 <span data-processor="relativetime" data-value="2025-10-23T14:28:03+00:00" > 10/23/25, 14:28 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-10-16T18:45:47+00:00" > 10/16/26, 18:45 </span>closing issue in favor of #105440
Seems to be enought if I add my Inspector-CustomMultiSelectEditor to the conditions in \TYPO3\CMS\Form\Domain\Configuration\FrameworkConfiguration\Extractors\FormElement\MultiValuePropertiesExtractor::__invoke and \TYPO3\CMS\Form\Domain\Configuration\FrameworkConfiguration\Extractors\PropertyCollectionElement\MultiValuePropertiesExtractor::__invoke
if ( $value !== 'Inspector-PropertyGridEditor' && $value !== 'Inspector-MultiSelectEditor' && $value !== 'Inspector-ValidationErrorMessageEditor' && $value !== 'Inspector-RequiredValidatorEditor' && $value !== 'Inspector-CustomMultiSelectEditor' ) { return; }