Skip to content

Commit 5387922

Browse files
add charset messages
1 parent 90c85bf commit 5387922

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/messages.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module.exports = {
1212
stringContains: "The '{field}' field must contain the '{expected}' text!",
1313
stringEnum: "The '{field}' field does not match any of the allowed values!",
1414
stringNumeric: "The '{field}' field must be a numeric string",
15+
stringAlpha: "The '{field}' field must be an alphabetic string",
16+
stringAlphanum: "The '{field}' field must be an alphanumeric string",
17+
stringAlphadash: "The '{field}' field must be an alphadash string",
1518

1619
number: "The '{field}' field must be a number!",
1720
numberMin: "The '{field}' field must be greater than or equal to {expected}!",

0 commit comments

Comments
 (0)