Sha256: 302474cd6c73b803a9391aaf7ce085058c3a3d772bfe494acbd438ae7465446e

Contents?: true

Size: 197 Bytes

Versions: 7

Compression:

Stored size: 197 Bytes

Contents

class StateInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options)
    input_html_options[:data] ||= {}
    input_html_options[:data].merge!({ provider: 'state' })
    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/state_input.rb
autocomplete_zipcode-1.1.0 lib/autocomplete_zipcode/simple_form/state_input.rb
autocomplete_zipcode-0.1.2.1 lib/autocomplete_zipcode/simple_form/state_input.rb
autocomplete_zipcode-0.1.2 lib/autocomplete_zipcode/simple_form/state_input.rb
autocomplete_zipcode-0.1.1 lib/autocomplete_zipcode/simple_form/state_input.rb
autocomplete_zipcode-0.1.0 lib/autocomplete_zipcode/simple_form/state_input.rb
autocomplete_zipcode-0.0.1 lib/autocomplete_zipcode/simple_form/state_input.rb