Class: QuotePickerInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- QuotePickerInput
- Defined in:
- app/inputs/quote_picker_input.rb
Instance Method Summary collapse
Methods inherited from TomSelectInput
#collection, #input_html_classes
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/inputs/quote_picker_input.rb', line 2 def input( = nil) [:data] ||= {} [:data]['tom-select-suggest-url-value'] ||= '/quotes/lookup' [:data]['tom-select-suggest-url-value'] = [:suggest_url] if [:suggest_url] super end |