Kemal::FormValidator::NumberRange
Inherits Kemal::FormValidator::Validator / Reference / Object
Kemal::FormValidator::NumberRange validates that a number is of a minimum and/or
maximum value, inclusive.
Adding this validator to a field will also add the min and/or max attribute to the field.
Constructors
Instance methods
validate(field : Kemal::Form::Field)
Source