Module: SimpleFormWithClientValidation::Components::Minlength

Included in:
Inputs::Base
Defined in:
lib/simple_form_with_client_validation/components/minlength.rb

Overview

Needs to be enabled in order to do automatic lookups.

Instance Method Summary collapse

Instance Method Details

#minlengthObject



5
6
7
8
# File 'lib/simple_form_with_client_validation/components/minlength.rb', line 5

def minlength
  input_html_options[:'minlength'] ||= minimum_length_from_validation || 0
  nil
end