Fixes title validations
This commit is contained in:
parent
2cabfe1887
commit
f0e1afc1ac
|
@ -7,7 +7,7 @@ import ListValidator from 'lib-app/validations/list-validator';
|
|||
let validators = {
|
||||
'DEFAULT': new Validator(),
|
||||
'NAME': new LengthValidator(2, 'ERROR_NAME'),
|
||||
'TITLE': new LengthValidator(10, 'ERROR_TITLE'),
|
||||
'TITLE': new LengthValidator(1, 'ERROR_TITLE'),
|
||||
'EMAIL': new EmailValidator(),
|
||||
'TEXT_AREA': new LengthValidator(10, 'ERROR_CONTENT_SHORT'),
|
||||
'PASSWORD': new LengthValidator(6, 'ERROR_PASSWORD'),
|
||||
|
@ -23,4 +23,4 @@ class ValidatorFactory {
|
|||
}
|
||||
}
|
||||
|
||||
export default ValidatorFactory;
|
||||
export default ValidatorFactory;
|
||||
|
|
Loading…
Reference in New Issue