Sha256: 246fa5f96bbd5873ff87e854e0c0bf87bea8626463c5607f90b15d883a9f1009

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

class Select2Input < SimpleForm::Inputs::CollectionSelectInput
  extend ActiveSupport::Autoload

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_form_auto_select2-0.0.1 app/inputs/select2_input.rb