Well, that's my question:
Is this is bug (oversight)? $form->text, $form->checkbox both
autofill, so should I report this?
On Tue, Mar 4, 2008 at 12:34 AM, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 3, 2008 at 11:24 PM, Baz <[EMAIL PROTECTED]> wrote:
> >
> > I take it you meant:
> > $form->select('groups')?
> >
> $groups = $this->MyModel->find('list')
> $this->set(compact('groups'));
>
> Is what I was thinking, but I don't think FormHelper::select supports
> the auto finding of the options array like input does, if you look at
> the code from the api
>
> http://api.cakephp.org/1.2/form_8php-source.html#l00491 around line
> 535 you'll see where that is autofilled from
>
> in FormHelper::select
> http://api.cakephp.org/1.2/form_8php-source.html#l01002 you can see
> that there is no similar feature. So if you want it to work like
> input you probably need to file an enhancement ticket
>
> --
> --
>
>
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
> http://blog.samdevore.com/cakephp-pages/i-cant-bake/
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---