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