Sanity Check: aurelia-validation ValidationController.errors


I am new with Aurelia and I am trying to use aurelia-validation.

After calling the validate() method on the ValidationController, the result object seems to be missing the errors array which is documented here:

The result object does contain these properties: instruction:any, results:ValidateResult[], valid: boolean.

Is this a bug in the documentation or should I be seeing this property?



What does your code for setting up the validation in your view model look like?
And have you added “& validate” for the values on the input elements like this:

<input value.bind="myVar & validate"/>