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

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Aug 13 03:20:49 CEST 2010


Hey,

> Thanks for your patch. However, it seems it does not take into account
> the problem I was addressing. When the selector box is used with a
> relation 1:n and a empty option, $propertyValue is an array '__identity'
> => 0. In that case I expect to have 0 stored in the database for the
> field. Do I miss something ?

how about a default value defined in your database configuration:

property_name int(11) unsigned DEFAULT '0' NOT NULL?


-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list