[TYPO3-mvc] Fluid: form.select view helper and empty default item

Bastian Waidelich bastian at typo3.org
Sat Aug 7 12:38:32 CEST 2010


Laurent Foulloy wrote:

Hi Laurent,

> I am trying to use a selector with a 1,n relation. I have added an
> "empty" option in the selector with a value equal to 0. When this option
> is selected, the value is not stored in the database.

Have you tried to set the value to an empty string as well?
<option value="">- empty -</option>


More information about the TYPO3-project-typo3v4mvc mailing list