Subject: | form_generator.pl generate vchar type column to textarea is wrong ! |
I use form_generator.pl to generate the form , when it finished. i found
that what column in my database table with type "Vchar" in the result
Form class is `type => "Textarea"`, that's a misstake.
I read the code , found you use this Module to do the
work:HTML::FormHandler::Generator::DBIC,
in the code :
my %types = (
text => 'TextArea',
int => 'Integer',
integer => 'Integer',
num => 'Number',
number => 'Number',
numeric => 'Number',
);
this hash cause the problem.
should you add a : vchar => 'input' ?
:)