Class: Select2Input

Inherits:
SimpleForm::Inputs::CollectionSelectInput
  • Object
show all
Extended by:
ActiveSupport::Autoload
Defined in:
app/inputs/select2_input.rb

Instance Method Summary collapse

Instance Method Details

#input_html_optionsObject



4
5
6
7
8
# File 'app/inputs/select2_input.rb', line 4

def input_html_options
  input_options = super
  input_options[:class] = [input_options[:class], 'auto-static-select2'].compact
  input_options
end