[Flow] f:form.select only supporting array of objects, not array of associative arrays

Christian Loock chl at vkf-renzel.de
Fri Sep 5 11:49:27 CEST 2014


Hello,

I am currently trying to populate an Select field with options that come 
from the package's Settings.yaml. It is a simple list of arrays, that I 
define in the yaml file:

systemLanguages:
       -
         locale: 'de'
         flagCountry: 'de'
         name: 'Deutsch'
       -
         locale: 'en'
         flagCountry: 'gb'
         name: 'English'
       -
         locale: 'pl'
         flagCountry: 'pl'
         name: 'Polska'

If I assign this list of values to my view and feed it to an select 
viewhelper, this wont work, because the Viewhelper expects a list of 
object, that it can call getters and setters on and wont work with 
associative arrays. Is this intende behaviour, or should i report this 
as a bug/feature request?


More information about the Flow mailing list