use more MooseX::Types and support actionattribute in Action vp to explicitly provide...
[catagits/Reaction.git] / lib / Reaction / UI / ViewPort / Field / Mutable / MatchingPasswords.pm
index 845b8b5..6f7aad8 100644 (file)
@@ -2,11 +2,12 @@ package Reaction::UI::ViewPort::Field::Mutable::MatchingPasswords;
 
 use Reaction::Class;
 use namespace::clean -except => [ qw(meta) ];
+use MooseX::Types::Moose qw/Str/;
 
 extends 'Reaction::UI::ViewPort::Field::Mutable::Password';
 
-has check_value => (is => 'rw', isa => 'Str', );
-has check_label => (is => 'rw', isa => 'Str', lazy_build => 1);
+has check_value => (is => 'rw', isa => Str, );
+has check_label => (is => 'rw', isa => Str, lazy_build => 1);
 
 sub _build_check_label {
   my $orig_label = shift->label;