Sha256: a98d559489b6bb0ae94c845419632581e5252eca8033608fbc3e16bc82fedac2
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
# frozen_string_literal: true class AutocompleteZipcode::CityInput < SimpleForm::Inputs::StringInput def input(wrapper_options) input_html_options[:data] ||= {} input_html_options[:data].merge!({ autocomplete_zipcode_provider: :city }) super end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autocomplete_zipcode-2.0.0 | app/inputs/autocomplete_zipcode/city_input.rb |