Methods

Files

Class/Module Index [+]

Quicksearch

SimpleForm::Components::Maxlength

Needs to be enabled in order to do automatic lookups.

Public Instance Methods

maxlength() click to toggle source
# File lib/simple_form/components/maxlength.rb, line 5
def maxlength
  input_html_options[:maxlength] ||= maximum_length_from_validation || limit
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.