[html-formfu] Date element in Multi
Moritz Onken
onken at houseofdesign.de
Sun Aug 17 09:29:44 BST 2008
Hi,
I think there is a bug if you put a date element in a multi block.
The error says:
"Can't locate object method "_string_field" via package
"HTML::FormFu::Element::Date"
Test:
use strict;
use warnings;
use Test::More tests => 1;
use HTML::FormFu;
my $form = HTML::FormFu->new({ tt_args => { INCLUDE_PATH => 'share/
templates/tt/xhtml' } });
my $multi = $form->element('Multi')->label('My multi');
$multi->element('Date')->name('bar')->label('My text');
eval { "$form" };
is( $@, "" );
More information about the HTML-FormFu
mailing list