Sha256: ca630607c97f404339768ca9f26bb3413105981b553f8c30fccc5ff25d48329f

Contents?: true

Size: 738 Bytes

Versions: 33

Compression:

Stored size: 738 Bytes

Contents

<!-- A `<select>` menu input. This tag differes from `<select-menu>` only in that it adds the correct `name` attribute for the current field, and `selected` default to `this`.

### 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.

  -->
<def tag="select-input">
  <select-menu name="#{param_name_for_this}" selected="&this" merge/>
</def>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo_rapid-2.2.6 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.5 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.4 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.3 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.2 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.1 taglibs/inputs/select_input.dryml
hobo_rapid-2.2.0 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.2 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.1 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.0 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.0.pre4 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.0.pre3 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.0.pre2 taglibs/inputs/select_input.dryml
hobo_rapid-2.1.0.pre1 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.1 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.0 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.0.pre10 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.0.pre9 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.0.pre8 taglibs/inputs/select_input.dryml
hobo_rapid-2.0.0.pre7 taglibs/inputs/select_input.dryml