Form::Factory::Control::Role::AvailableChoices - Controls that list available choices


Form-Factory documentation Contained in the Form-Factory distribution.

Index


Code Index:

NAME

Top

Form::Factory::Control::Role::AvailableChoices - Controls that list available choices

VERSION

Top

version 0.020

DESCRIPTION

Top

Controls that have a list of possible options to select from may implement this role.

ATTRIBUTES

Top

available_choices

The list of Form::Factory::Control::Choice objects.

AUTHOR

Top

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Form-Factory documentation Contained in the Form-Factory distribution.
package Form::Factory::Control::Role::AvailableChoices;
BEGIN {
  $Form::Factory::Control::Role::AvailableChoices::VERSION = '0.020';
}
use Moose::Role;

use Form::Factory::Control::Choice;

has available_choices => (
    is        => 'ro',
    isa       => 'ArrayRef[Form::Factory::Control::Choice]',
    required  => 1,
);

1;