[liv.field-manager] fix error code
This commit is contained in:
parent
236b03775e
commit
d48d865be6
|
@ -21,7 +21,7 @@ FieldValidator.pushFormat('basic-name', (input) => {
|
||||||
/* (3) URL name */
|
/* (3) URL name */
|
||||||
FieldValidator.pushFormat('url-name', (input) => {
|
FieldValidator.pushFormat('url-name', (input) => {
|
||||||
return typeof input === 'string' && /^[a-z0-9_-]{3,20}$/i.test(input);
|
return typeof input === 'string' && /^[a-z0-9_-]{3,20}$/i.test(input);
|
||||||
}, '3 characters required: letters, numbers, dots, hyphens');
|
}, '3 characters required: letters, numbers, hyphens');
|
||||||
|
|
||||||
/* (4) Password */
|
/* (4) Password */
|
||||||
FieldValidator.pushFormat('password', (input) => {
|
FieldValidator.pushFormat('password', (input) => {
|
||||||
|
|
Loading…
Reference in New Issue