Hobo Cookbook

View Source

Rapid

<select-menu>

A simple wrapper around the <select> tag and options_for_select helper

### Attributes

  • options - an array of options suitable to be passed to the Rails options_for_select helper.
  • selected - the value (from the options array) that should be initially selected. Defaults to this
  • first-option - a string to be used for an extra option in the first position. E.g. “Please choose…”
  • first-value - the value to be used with the first-option. Typically not used, meaning the option has a blank value.

Parameters

  • default
    • options

Show Source

Comments

No comments to display