Class: AutocompleteZipcode::StateSelectInput

Inherits:
SimpleForm::Inputs::CollectionSelectInput
  • Object
show all
Defined in:
app/inputs/autocomplete_zipcode/state_select_input.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



4
5
6
7
8
# File 'app/inputs/autocomplete_zipcode/state_select_input.rb', line 4

def input(wrapper_options)
  input_html_options[:data] ||= {}
  input_html_options[:data].merge!({ autocomplete_zipcode_provider: :state })
  super
end