Generate an HTML select.
Generate an HTML select.
Example:
@select( field = myForm("mySelect"), options = Seq( "Foo" -> "foo text", "Bar" -> "bar text", "Baz" -> "baz text" ), '_default -> "Choose One", '_disabled -> Seq("FooKey", "BazKey") 'cust_att_name -> "cust_att_value" )
The form field.
Sequence of options as pairs of value and HTML.
Set of extra attributes.
The field constructor.
Generate an HTML select.
Example: