Class: StateFilterPickerTomSelectInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- StateFilterPickerTomSelectInput
- Defined in:
- app/inputs/state_filter_picker_tom_select_input.rb
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
7 8 9 |
# File 'app/inputs/state_filter_picker_tom_select_input.rb', line 7 def collection State.states_for_select end |
#input(wrapper_options = nil) ⇒ Object
2 3 4 5 |
# File 'app/inputs/state_filter_picker_tom_select_input.rb', line 2 def input( = nil) [:multiple] = true if [:multiple].nil? super end |