Don't want to return any string ..or is there any way to validate multiple input field show error just below input field
Opened this issue · 1 comments
kamarshad commented
hi @vitalets i want to validate some input but dont want to return string, how i can do
Actually i have multiple inputs fields and i want to show error just below the input field
validate: function(value) {
if (value === null || value === '') {
here i want to create new css
return '';
}
}
vitalets commented
hi!
The easiest way is to return space:
validate: function(value) {
if (value === null || value === '') {
// show custom error and return space to avoid embeded error
return ' ';
}
}