As a brief note to self before I delete this code, this is how you create a drop-down list in Play Framework 2.6:
@* adding 'size to helper.select creates a select/option area (single or multi-select) *@ @helper.select( form("category"), categories, 'id -> "category", '_help -> "Select one, any one" )
In that code, categories is passed into the Play template like this:
This website is a little one-man operation. If you found this information helpful, I’d appreciate it if you would share it.