Sha256: db47bbbf54eb92ed4f664976a30fdf22de4f73d6aac482ecc6eac7997b0bba0f
Contents?: true
Size: 436 Bytes
Versions: 7
Compression:
Stored size: 436 Bytes
Contents
class DateRangeInput < ActiveAdmin::Inputs::Filters::DateRangeInput if instance_methods(true).include?(:input_html_options_for) def input_html_options super.except(:maxlength, :size).merge(autocomplete: 'off') end else def input_html_options(input_name = gt_input_name, placeholder = gt_input_placeholder) super(input_name, placeholder).except(:maxlength, :size).merge(autocomplete: 'off') end end end
Version data entries
7 entries across 7 versions & 1 rubygems