Open
Description
I have a field with
validators: { looksOk: function(field, model, next){ next(model[ field.key ].indexOf('@') >= 0); } }
I see that on error the field wrapper is getting the error class but no error is shown below the field,
I have checked the configuration but found nothing on that
update:
I saw now that I can define the error message in the validate function for example:
validators: { minLength: { expression: 'model[field.key].length > 5', message: 'Your password must be at least 6 characters' } }
but I could not get the same functionality for a generic 'required' field
Metadata
Metadata
Assignees
Labels
No labels