Sha256: b648a594ae1f97d75e214ed3a8d151edabd245436b984a605d54f4516624b046

Contents?: true

Size: 782 Bytes

Versions: 11

Compression:

Stored size: 782 Bytes

Contents

# frozen_string_literal: true
module SimpleForm
  # Components are a special type of helpers that can work on their own.
  # For example, by using a component, it will automatically change the
  # output under given circumstances without user input. For example,
  # the disabled helper always need a disabled: true option given
  # to the input in order to be enabled. On the other hand, things like
  # hints can generate output automatically by doing I18n lookups.
  module Components
    extend ActiveSupport::Autoload

    autoload :Errors
    autoload :Hints
    autoload :HTML5
    autoload :LabelInput
    autoload :Labels
    autoload :MinMax
    autoload :Maxlength
    autoload :Minlength
    autoload :Pattern
    autoload :Placeholders
    autoload :Readonly
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
simple_form-5.3.0 lib/simple_form/components.rb
simple_form-5.2.0 lib/simple_form/components.rb
simple_form-5.1.0 lib/simple_form/components.rb
simple_form-5.0.3 lib/simple_form/components.rb
simple_form-5.0.2 lib/simple_form/components.rb
simple_form-5.0.1 lib/simple_form/components.rb
simple_form-5.0.0 lib/simple_form/components.rb
simple_form-4.1.0 lib/simple_form/components.rb
simple_form-4.0.1 lib/simple_form/components.rb
simple_form-4.0.0 lib/simple_form/components.rb
simple_form-3.5.1 lib/simple_form/components.rb