I’m working on validating my form, and while I can validate text boxes I do not seem to be able to validate a datepicker. Below is a snippet of what I’ve been working on that illustrates what I’ve tried. Am I missing something or is the validate method broken for datepicker objects?
I finally realized that the webix.rules.isNotEmpty rule doesn’t work on a DatePicker object and wrote a custom rule that does what I need. Thanks for reading this though!
Now that I’ve got the datepicker validating, I cannot seem to get the Radio object to show an invalidMessage when it fails validation. Other than some console.log entries I can’t even tell it failed. Does Radio not validate?
There’s a known issue - please, set bottomPadding:18
manually. Or you can set the error message:
Thanks!