How can I validate form with complex data using rules settings?
Value in function is always undefined.
I can do it with inline “validate” attribute, but would prefer form rules.
http://webix.com/snippet/47bd5177
no solution?
finally I found how to reach input value:
http://webix.com/snippet/997bc9d7
unfortunately it does not work with built-in rules (webix.rules.isNotEmpty etc)
I overrode default rules, so that they can be used with complexData:true http://webix.com/snippet/992c71cd
it can be used with complexData:false as well
Unfortunately, I can confirm the issue. Your workaround is right, and if you want to use a predefined rule, you just need to pass the value from the second parameter: