Sha256: 5b83d714bc7c2b8cc1d67932abedb304413bd52b6fd296698484a290f25ab029

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

1 entries across 1 versions & 1 rubygems

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