NAME

HTML::FormFu::Element::Select - Select form field

SYNOPSIS

YAML config:

---
elements:
  - type: Select
    name: sex
    options:
      - [ 'm', 'Male' ]
      - [ 'f', 'Female' ]

DESCRIPTION

Select form field.

Supports optgroups, see "options" in HTML::FormFu::Element::_Group for details.

METHODS

options

See "options" in HTML::FormFu::Element::_Group.

values

See "values" in HTML::FormFu::Element::_Group.

value_range

See "value_range" in HTML::FormFu::Element::_Group.

empty_first

See "empty_first" in HTML::FormFu::Element::_Group.

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Element::_Group, HTML::FormFu::Element::_Field, HTML::FormFu::Element

HTML::FormFu

AUTHOR

Carl Franks, cfranks@cpan.org

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.