Open
Description
"Setting both default and builder is not allowed. at /usr/local/lib/perl/5.14.2/Moose/Exporter.pm line 419 Moose::has('+wrapper_class', 'default', 'captcha') called at /usr/local/share/perl/5.14.2/HTML/FormHandler/Field/Captcha.pm line 15
My code:
package SureVoIP::Portal::Form::Auth::Reset;
use strict;
use warnings;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler';
with 'HTML::FormHandler::TraitFor::Captcha';
with 'HTML::FormHandler::Render::Simple';
has_field 'email' => (
type => 'Email',
label => 'Email',
required => 1,
);
has_field '+captcha' => (
id => 'captcha',
height => '24',
width => '70'
);
no HTML::FormHandler::Moose;
1;
Thanks.
Metadata
Metadata
Assignees
Labels
No labels