| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
HTML::FormFu::Constraint::MinRange - Minimum Value Constraint
Checks the input value is equal to or greater than a minimum value.
Overrides localize_args in HTML::FormFu::Constraint, so that the value of minimum is passed as an argument to localize.
This constraint doesn't honour the not() value.
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::Range, HTML::FormFu::Constraint
Carl Franks cfranks@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
package HTML::FormFu::Constraint::MinRange; use Moose; extends 'HTML::FormFu::Constraint::Range'; sub _localize_args { my ($self) = @_; return $self->min; } __PACKAGE__->meta->make_immutable; 1; __END__