Skip to content

Commit 267073c

Browse files
committed
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

+4-1
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)