Issue Task Closed

#82615EXT:form - Add more explanations about the initializeFormElement hook into the docs.

Juan Manuel Vergés Solanas 09/29/17, 09:30 updated 10/02/18, 10:55

Description

When you use the BE module and you save a form default Value is set to ‘‘
Then if you have some hook pre populating some field is having no effect as defaultValue: ‘’ from Yaml file is having more priority.
I would like to think the way to fix it is not set defaultValue if it is empty, however I don’t know which other implications could have.

hook function I’m using is


public function initializeFormElement(\TYPO3\CMS\Form\Domain\Model\Renderable\RenderableInterface $renderable)

Reviews 3