login blank: false
blank
Purpose
Validates that a String value is not blank (i.e. contains non-whitespace chracters).
Examples
Description
Set to false
if a string value cannot be blank.
Error Code: className.propertyName.blank
If the string is null , it won’t validate with blank: true . In this case, set the nullable constraint to true .
|
If the string contains whitespace (tabs or spaces), it is still considered blank. Use minSize:1 if you want to make sure the string is not empty.
|