Sha256: 3cfd58e02d8474432203183ad736ddf004f013f4b454ecebca64d7cf38d9619f

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

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