[TYPO3-mvc] Fluid's select view helpers and empty items
Bastian Waidelich
bastian at typo3.org
Thu Jul 23 12:45:03 CEST 2009
Jeff Segars wrote:
Hi Jeff,
> Is this something that should be built into the select view helper?
> Maybe some way to mix user defined items and those from an object?
yes, good idea. maybe something like:
<f:form.select name="paymentOptions" options="{paymentOptions}"
prependOptions="{any: 'Any'}" value="visa" />
(btw I think, there is a problem with the json-syntax of fluid: AFAIK
it's not possible to have an array with an empty key like {'': 'foo'})
> I'll be happy to provide a patch with a little guidance :)
Great! Could you please write the patch against the FLOW3 Fluid package
so we can backport it?
Thanks,
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list