[html-formfu] conditions from stash, { -in => [ ... ] }

Carl Franks fireartist at gmail.com
Fri Nov 12 00:47:12 GMT 2010


I've no idea, that check's been there since the condition_from_stash
feature was added.
I'd be happy to have that restriction removed.

Carl


On 30 October 2010 13:22, Yuval Kogman <nothingmuch at woobling.org> wrote:
> In Model::DBIC::options_from_model, specifying a complex condition is an error:
>
>            croak "input value must not be a reference"
>                if ref $value;
>
> this means that it's not possible to specify $form->stash({ cond_name
> => { -in => \@values } });
>
> What's the reason for this?
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>



More information about the HTML-FormFu mailing list