Hello all!
I’m trying do define custom validation rule for
webix.ui.text
using
webix.rules.isNumber
built-in validator, but I see the next rules definitions in the webix.d.ts
interface rules{
isChecked():boolean;
isEmail():boolean;
isNotEmpty():boolean;
isNumber():boolean;
}
So, by this definition, no one built-in validator receives any argument.
Is it normal situation?
If so, how can I use the webix.rules.isNumber validator in a typescript environment?