Project

General

Profile

Actions

Task #82615

closed

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

Added by Juan Manuel Vergés Solanas over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2017-09-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Sprint Focus:

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)

Actions

Also available in: Atom PDF