Skip to content

Commit fad2492

Browse files
committed
Validator: added default error message for the Numeric rule
1 parent f3cf99a commit fad2492

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/Forms/Validator.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ final class Validator
3434
Form::URL => 'Please enter a valid URL.',
3535
Form::Enum => 'Please select a valid option.',
3636
Form::Integer => 'Please enter a valid integer.',
37+
Form::Numeric => 'Please enter a non-negative integer.',
3738
Form::Float => 'Please enter a valid number.',
3839
Form::Min => 'Please enter a value greater than or equal to %d.',
3940
Form::Max => 'Please enter a value less than or equal to %d.',

0 commit comments

Comments
 (0)