Class: BusinessUnitPickerTomSelectInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- BusinessUnitPickerTomSelectInput
- Defined in:
- app/inputs/business_unit_picker_tom_select_input.rb
Overview
Tom Select version of BusinessUnitPickerInput
Use as: :business_unit_picker_tom_select instead of :business_unit_picker
This uses a static collection since business units are finite
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
5 6 7 |
# File 'app/inputs/business_unit_picker_tom_select_input.rb', line 5 def collection BusinessUnit. end |