Sha256: cccf2872bd5c2efcb3d329bfda2204b09acc581e99adcbe31c3e8f9a878d5024

Contents?: true

Size: 199 Bytes

Versions: 7

Compression:

Stored size: 199 Bytes

Contents

class StreetInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options)
    input_html_options[:data] ||= {}
    input_html_options[:data].merge!({ provider: 'street' })
    super
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
autocomplete_zipcode-1.2.0 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-1.1.0 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-0.1.2.1 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-0.1.2 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-0.1.1 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-0.1.0 lib/autocomplete_zipcode/simple_form/street_input.rb
autocomplete_zipcode-0.0.1 lib/autocomplete_zipcode/simple_form/street_input.rb