Module: StimulusPlumbers::Form::Fields::Inputs::Select::Grouped

Included in:
Builder
Defined in:
lib/stimulus_plumbers/form/fields/inputs/select/grouped.rb

Instance Method Summary collapse

Instance Method Details

#grouped_collection_select(attribute, collection, group_method, group_label_method, option_key_method, option_value_method, options = {}, html_opts = {}) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/stimulus_plumbers/form/fields/inputs/select/grouped.rb', line 9

def grouped_collection_select(
  attribute,
  collection,
  group_method,
  group_label_method,
  option_key_method,
  option_value_method,
  options = {},
  html_opts = {}
)
  html_options = merge_html_options(theme.resolve(:form_select), html_opts)
  super(
    attribute,
    collection,
    group_method,
    group_label_method,
    option_key_method,
    option_value_method,
    options,
    html_options
  )
end