Class: ActiveAdmin::Inputs::FilterMultipleSelectInput

Inherits:
Formtastic::Inputs::SelectInput
  • Object
show all
Includes:
FilterBase
Defined in:
lib/active_admin/inputs/filter_multiple_select_input.rb

Instance Method Summary collapse

Instance Method Details

#extra_input_html_optionsObject



10
11
12
13
14
15
# File 'lib/active_admin/inputs/filter_multiple_select_input.rb', line 10

def extra_input_html_options
  {
    :multiple => 'multiple',
    :'data-placeholder' => I18n.t('active_admin.filters.multiple_select.placeholder')
  }
end

#input_nameObject



6
7
8
# File 'lib/active_admin/inputs/filter_multiple_select_input.rb', line 6

def input_name
  "#{super}_in"
end