Class: EmployeePickerTomSelectInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- EmployeePickerTomSelectInput
- Defined in:
- app/inputs/employee_picker_tom_select_input.rb
Overview
Tom Select version of EmployeePickerInput
Use as: :employee_picker_tom_select instead of :employee_picker
This uses a static collection since employees are finite
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
5 6 7 |
# File 'app/inputs/employee_picker_tom_select_input.rb', line 5 def collection Employee. end |