checks whether a text field is empty
value | any | the value to check |
boolean | true, if the value is not empty |
rules:{ // component name is used to apply the rule to it
"login":webix.rules.isNotEmpty
}
There should be at least one character in the text field to pass validation.
You can call this function explicitely to perform the related check, as follows:
if(webix.rules.isNotEmpty(value)){
// your logic
}