HTML-FormBuilder
view release on metacpan or search on metacpan
lib/HTML/FormBuilder/Select.pm view on Meta::CPAN
use warnings;
use Carp;
use Moo;
use namespace::clean;
our $VERSION = '0.13'; ## VERSION
=head1 NAME
HTML::FormBuilder::Select - Select Element Handling for BOM Forms
=cut
=head1 Synopsis
my $select = HTML::FormBuilder::Select->new(
id => 'my-select',
name => 'my_select',
options => [{value => 'foo', text => 'Foo'}, {value => 'bar', text => 'Bar'}],
values => qw(foo),
lib/HTML/FormBuilder/Select.pod view on Meta::CPAN
this file, but rather the original, inline with HTML::FormBuilder::Select
at lib/HTML/FormBuilder/Select.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.
=cut
=head1 NAME
HTML::FormBuilder::Select - Select Element Handling for BOM Forms
=head1 Synopsis
my $select = HTML::FormBuilder::Select->new(
id => 'my-select',
name => 'my_select',
options => [{value => 'foo', text => 'Foo'}, {value => 'bar', text => 'Bar'}],
values => qw(foo),
};
$select->values('bar'); # set only 'bar'
( run in 0.274 second using v1.01-cache-2.11-cpan-e9daa2b36ef )