Class: StateFilterPickerInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- StateFilterPickerInput
- Defined in:
- app/inputs/state_filter_picker_input.rb
Overview
SimpleForm input wrapper: state filter picker.
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
9 10 11 |
# File 'app/inputs/state_filter_picker_input.rb', line 9 def collection State.states_for_select end |
#input(wrapper_options = nil) ⇒ Object
4 5 6 7 |
# File 'app/inputs/state_filter_picker_input.rb', line 4 def input( = nil) [:multiple] = true if [:multiple].nil? super end |