[TYPO3-mvc] fluid select selected="selected"
Stefano Cecere
scecere at krur.com
Thu Feb 7 14:00:53 CET 2013
Hi Bas
i solved lot's of form select problems by
http://fedext.net/viewhelpers/vhs/Form/Select/OptionViewHelper.html
PS: vhs rules! :)
On 07/02/13 13:49, Bas van der Togt wrote:
> Hello,
>
> I have a select field with inside some object data:
>
> <f:form action="create" name="newAppointment" object="{newAppointment}"
> arguments="{appointment: appointment}" method="post">
> <f:form.select property="staff" options="{staffs}"
> optionLabelField="name" optionValueField="uid" />
> ...
>
> This works all fine. But when i select an item, submit and the form does
> not validate, the select does not preselect my choice.
>
> I tried value="{newAppointment.staff}" but that does not work.
>
> Any idea?
>
> Kind regards,
> Bas
--
-- --- ----- -------
Stefano Cecere
KRUR studio - http://krur.com
More information about the TYPO3-project-typo3v4mvc
mailing list