use more MooseX::Types and support actionattribute in Action vp to explicitly provide...
[catagits/Reaction.git] / lib / Reaction / UI / ViewPort / Field / Mutable / ChooseMany.pm
index 0833c73..1b7a411 100644 (file)
@@ -8,13 +8,14 @@ my $listify = sub{
 };
 
 use namespace::clean -except => [ qw(meta) ];
+use MooseX::Types::Moose qw/ArrayRef/;
 extends 'Reaction::UI::ViewPort::Field';
 
 with 'Reaction::UI::ViewPort::Field::Role::Mutable';
 with 'Reaction::UI::ViewPort::Field::Role::Choices';
 
 #MUST BE HERE, BELOW THE 'does', OR THE TRIGGER WILL NOT HAPPEN!
-has '+value' => (isa => 'ArrayRef');
+has '+value' => (isa => ArrayRef);
 
 around value => sub {
   my $orig = shift;
@@ -81,7 +82,7 @@ __PACKAGE__->meta->make_immutable;
 
 =head1 NAME
 
-Reaction::UI::ViewPort::Field::ChooseMany
+Reaction::UI::ViewPort::Field::Mutable::ChooseMany
 
 =head1 DESCRIPTION