Class: ProductLinePickerTomSelectInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- ProductLinePickerTomSelectInput
- Defined in:
- app/inputs/product_line_picker_tom_select_input.rb
Overview
Tom Select version of ProductLinePickerInput
Use as: :product_line_picker_tom_select instead of :product_line_picker
This uses a static collection (no AJAX) since product lines are finite
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
5 6 7 |
# File 'app/inputs/product_line_picker_tom_select_input.rb', line 5 def collection ProductLine. end |