| 1 | package HTML::FormHandler::Field::BoolSelect; | ||
| 2 | # ABSTRACT: Boolean select field | ||
| 3 | 3 | $HTML::FormHandler::Field::BoolSelect::VERSION = '0.410002'; | |
| 4 | |||
| 5 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | extends 'HTML::FormHandler::Field::Select'; | |
| 7 | |||
| 8 | 3 | has '+empty_select' => ( default => 'Select One' ); | |
| 9 | |||
| 10 | 3 | ▶ | sub build_options { [ |
|
Subroutine
build_options: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 11 | 3 | { value => 1, label => 'True'}, | |
| 12 | { value => 0, label => 'False' } | ||
| 13 | ]}; | ||
| 14 | |||
| 15 | |||
| 16 | 3 | __PACKAGE__->meta->make_immutable; | |
| 17 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 3 | 1; | |
| 19 | |||
| 20 | __END__ | ||