HTML::...:Select(3pm)

πŸ“¦
version 2.07000 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– HTML::FormFu::Element::Select πŸ’–

okay bestie, gather round, because we're talking about HTML::FormFu::Element::Select β€” the literal select form field of your dreams ✨ it's a Perl module, it lives in the HTML::FormFu fam, and yes she is that girl.

πŸ“Œ VERSION

version 2.07 β€” that's the one, no cap πŸŽ€


🌈 SYNOPSIS

YAML config, and the way it's giving?? immaculate:

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

like, look at her. just a type: Select, a name, and a little list of options. chef's kiss πŸ’…


✨ DESCRIPTION

It's a Select form field. that's the whole vibe πŸ¦‹

Oh, and she supports optgroups too β€” for the deets, go read "options" in HTML::FormFu::Role::Element::Group. that's where all the group-y goodness lives, iykyk πŸ’œ


πŸ› οΈ METHODS

options

See "options" in HTML::FormFu::Role::Element::Group. πŸ‘‘

values

See "values" in HTML::FormFu::Role::Element::Group. πŸ’«

value_range

See "value_range" in HTML::FormFu::Role::Element::Group. πŸ“

empty_first

See "empty_first" in HTML::FormFu::Role::Element::Group. πŸ«₯

empty_first_label

See "empty_first_label" in HTML::FormFu::Role::Element::Group. 🏷️


πŸ‘€ SEE ALSO

She's a sub-class of the following, and she inherits methods from all of them, so like… the family tree is everything:

  • HTML::FormFu::Role::Element::Group
  • HTML::FormFu::Role::Element::Field
  • HTML::FormFu::Element

Also go peep HTML::FormFu itself, the mothership πŸ’–


✍️ 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. periodt πŸ’…


✍️ AUTHOR (yes, again, she said it twice and honestly? iconic)

Carl Franks <cpan@fireartist.com> πŸŽ€


This software is copyright (c) 2018 by Carl Franks. πŸ‘‘

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🌈


πŸ’€ and that's a wrap bestie β€” this whole page was churned out by perl v5.28.1 on 2019-01-12, so if you're reading this in the future, hi, hope you're hydrated πŸ«ΆπŸ’–
πŸ“¦ where this page comes from