Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 267073c

Browse files
committedMar 23, 2017
add example to dev
1 parent d97c917 commit 267073c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎dev/full/schema.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ module.exports = {
7474
required: true,
7575
hint: "Minimum 6 characters",
7676
styleClasses: "half-width",
77-
validator: validators.string
77+
validator: validators.string.locale({
78+
fieldIsRequired: "The password is required!",
79+
textTooSmall: "Password must be at least {1} characters"
80+
})
7881
}, {
7982
type: "input",
8083
inputType: "date",

0 commit comments

Comments
 (0)
Please sign in to comment.