Sha256: 0fde2d401a628fcc0ed94d66103eebed017929b08aaa9178feac97352eb3f434

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autocomplete_zipcode-2.0.0 app/inputs/autocomplete_zipcode/street_input.rb