Subject: | default_natural on Date-Elements overrides default_values() |
Date: | Tue, 15 Feb 2011 02:34:05 +0100 |
To: | bug-HTML-FormFu-Model-DBIC [...] rt.cpan.org |
From: | Sven Eppler <sven [...] sveneppler.de> |
Hi,
i recently found out that when you have a form with a Date element which
has "default_natural: today" as default value and use this form with
H:F:M:DBIC, the call to "default_values($row)" doesn't set the default
value of the Date element correctly. The default_natural value is still
displayed instead of the value which the model row supplies.
The Module Versions:
DBIx::Class = 0.08123
HTML::FormFu = 0.08002
HTML::FormFu::Model::DBIC = 0.08002
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
uname -a = Linux pinguin 2.6.24-28-server #1 SMP Wed Nov 24 10:04:43 UTC
2010 i686 GNU/Linux
Greetings,
--
Sven Eppler <sven@sveneppler.de>
Message body not shown because it is not plain text.