flux icon indicating copy to clipboard operation
flux copied to clipboard

"Clear value" wizard in page config not present any more

Open yol opened this issue 4 years ago • 1 comments

Adding wizards via ['config']['wizards'] was removed for TYPO3 8.6: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.6/Deprecation-79440-TcaChanges.html

The "clear value" wizard (rendered when clearable="1" on a form field) is still being included with this method: https://github.com/FluidTYPO3/flux/blob/3121e6d/Classes/Form/AbstractFormField.php#L227-L235

As far as I can tell, this should not work any more with any TYPO3 version supported by current vhs. It would have to be replaced with one of the new wizard registration methods.

yol avatar Jun 20 '21 12:06 yol

Flux needs to convert the old "renderClearValueWizardField" into a FieldControl class as described in https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/FormEngine/Rendering/Index.html#node-expansion

(The field tag attribute is clear="1", not "clearable".)

cweiske avatar Aug 24 '22 10:08 cweiske