From 267073cd0f700b506b5454c6ebfe02d8039b0de3 Mon Sep 17 00:00:00 2001 From: Icebob Date: Thu, 23 Mar 2017 20:45:00 +0100 Subject: [PATCH] add example to dev --- dev/full/schema.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/full/schema.js b/dev/full/schema.js index d82b1e99..6628b68c 100644 --- a/dev/full/schema.js +++ b/dev/full/schema.js @@ -74,7 +74,10 @@ module.exports = { required: true, hint: "Minimum 6 characters", styleClasses: "half-width", - validator: validators.string + validator: validators.string.locale({ + fieldIsRequired: "The password is required!", + textTooSmall: "Password must be at least {1} characters" + }) }, { type: "input", inputType: "date",