Class: CityPickerInput

Inherits:
TomSelectInput
  • Object
show all
Defined in:
app/inputs/city_picker_input.rb

Instance Method Summary collapse

Methods inherited from TomSelectInput

#collection, #input_html_classes

Instance Method Details

#input(wrapper_options = nil) ⇒ Object



3
4
5
6
7
# File 'app/inputs/city_picker_input.rb', line 3

def input(wrapper_options = nil)
  input_html_options[:data] ||= {}
  input_html_options[:data]['tom-select-suggest-url-value'] = template.city_lookup_addresses_path
  super(wrapper_options)
end