Re: [Catalyst] No database defaults with FormHandler and DBIC

2016-12-10 Thread Martin Řehák
Hi Gerda, sorry for late reply. Didn't have time to look into this. Now I have: my $init_row = $c->model('DB::Lesson')->new_result({}); $validated = $self->formDetail->process(item => $init_row); And I still don't see the database defaults in the rendered form. Any clue where

Re: [Catalyst] No database defaults with FormHandler and DBIC

2016-12-10 Thread Martin Řehák
n 2016.12.10 15:36:10 +0100, Martin Řehák wrote: > Hi Gerda, > > sorry for late reply. Didn't have time to look into this. > > Now I have: > > my $init_row = $c->model('DB::Lesson')->new_result({}); > $validated = $self->formDetail->process(item

Re: [Catalyst] No database defaults with FormHandler and DBIC

2016-12-11 Thread Martin Řehák
you call >new_result the default value from > > your database does get **populated that happens when on insert > > > > On Sat, Dec 10, 2016 at 5:17 PM, Martin Řehák <re...@tekkirk.org> wrote: > > > >> Hi, > >> > >> I understand t