Class: LedgerReconciliationAccountPickerTomSelectInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- LedgerReconciliationAccountPickerTomSelectInput
- Defined in:
- app/inputs/ledger_reconciliation_account_picker_tom_select_input.rb
Overview
Tom Select version of LedgerReconciliationAccountPickerInput
Use as: :ledger_reconciliation_account_picker_tom_select instead of :ledger_reconciliation_account_picker
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
9 10 11 |
# File 'app/inputs/ledger_reconciliation_account_picker_tom_select_input.rb', line 9 def collection LedgerAccount.select_bank_balance_account end |
#input(wrapper_options = nil) ⇒ Object
4 5 6 7 |
# File 'app/inputs/ledger_reconciliation_account_picker_tom_select_input.rb', line 4 def input( = nil) [:multiple] = true if [:multiple].nil? super() end |