Hey Christophe- As I'm seeing it, the second argument is actually the "attributes" argument and the "parameters" are an open place where you can specify any other information that could logically change the rendering of a form element. My impression is that it's worthwhile (especially because it allows people to pass in arbitrary information when rendering fields), but I wanted to be sure.
Now that we've got a message trail started, don't lose sight of my first and third bullets - those are my most important concerns. Thanks! Ryan Weaver Lead Programmer - iostudio - Nashville, TN http://www.iostudio.com http://www.thatsquality.com Twitter: @weaverryan On Mon, Jan 17, 2011 at 9:57 AM, stof <[email protected]> wrote: > On Mon, 17 Jan 2011 07:44:19 -0800 (PST), weaverryan > <[email protected]> > wrote: > > * The third argument of the Twig form_field() function is a parameters > > array (see above). Currently, the *only* use for this seems to be for > > specifying the separator of the ChoiceField. Is the parameters array a > > nearly-dead feature that should be killed off? If so, this would put > > the separator into ChoiceField. Is that more correct? > > I think this arrau can also pass others parameters which would be added to > the field. For example you can add a 'class' parameter but also all other > valid html parameters. > > Regards > -- > Christophe | Stof > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
