[Solar-talk] Hieriarchal Selects

Rodrigo Moraes rodrigo.moraes at gmail.com
Mon Dec 3 20:13:26 CST 2007


On Dec 4, 2007 12:06 AM, Paul M Jones wrote:
> > Is there some way to do hierarchal selects with solar forms? How do
> > you do them? A good example would be helpful.
> >
> Sorry about the delay.  Do you mean something like <optgroup> values
> within the select options?  It's not currently supported by the
> formSelect() helper, but I can see how we could add that in.  (Idea
> would be to have it see if the option display is itself an array, and
> use the key as the optgroup label instead of the option value ... hope
> that makes sense.)

ah! if it is about optgroups, there's a hack here that allows them:

http://solarphp.com/trac/ticket/19

-- rodrigo


More information about the Solar-talk mailing list