Select
bs_form_select(*args, &block)
bs_form_select(*args, &block)Examples
Example 1: Basic usage with array
bs_form_select key: :foo, options: [1, 2, 3]Example 2: Basic usage with hash
bs_form_select key: :foo, options: { "Option 1": 1, "Option 2": 2, "Option 3": 3 }Example 3: Basic usage with custom class
Example 4: Basic usage with label
Example 5: Basic usage with placeholder
Example 5: Basic usage with form_text
Example 6: Basic usage with variant
Last updated