Sha256: 1fbdee2fb58996a96ded0139196a39f8e54db3cb12619da1c9b2aa0b5c8a9315

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

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