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

Laurent Foulloy yolf.typo3 at orange.fr
Fri Aug 13 09:07:19 CEST 2010


Hi Franz,

It's the case but it is not enough. Assume the selector associated with 
a 1:n relation is set to a non empty value and data saved. Then, when 
one wants to reset to the empty value, because the property mapper 
cannot retreive the record in the foreign table whose the uid = 0, the 
previous value is kept.


Best regards

Laurent

Franz Koch a écrit :
> how about a default value defined in your database configuration:
> 
> property_name int(11) unsigned DEFAULT '0' NOT NULL?
> 
> 


More information about the TYPO3-project-typo3v4mvc mailing list