[Neos] Contact Form Select Field add options and values
Aske Ertmann
aske at moc.net
Sun Jan 18 15:26:19 CET 2015
Hey Patric
Did you try the yaml way of defining an array with keys?
-
type: 'TYPO3.Form:SingleSelectDropdown'
identifier: paket
label: 'Paket'
properties:
options:
first: ‘First’
second: ‘Second’
third: ‘Third'
> On 17 Jan 2015, at 20:18, Patric Eckhart <mail at patriceckhart.com> wrote:
>
> Ok, this is the solution
>
> -
> type: 'TYPO3.Form:SingleSelectDropdown'
> identifier: paket
> label: 'Paket'
> properties:
> options: ['First', 'Second', 'Third']
>
> but how can I add values. Currently they are 0,1,2
>
> I have tried
> options: ['First', 'Second', 'Third']
> values: ['First', 'Second', 'Third']
>
> but it does not work :-(
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
More information about the Neos
mailing list