aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 110 forks source link

Validation section lists binding behavior that no longer exist #295

Closed dkent600 closed 8 years ago

dkent600 commented 8 years ago

The "Validate Binding Behavior" section lists the following binding behaviors that appear to no longer exist:

& validateOnBlur: the DOM blur event triggers validation.
& validateOnChange: data entry that changes the model triggers validation.
& validateOnBlurOrChange: DOM blur or data entry triggers validation.
& validateManually: the binding is not validated automatically when the associated element is blurred or changed by the user.
EisenbergEffect commented 8 years ago

@jdanyow Can we update the docs to match?

jdanyow commented 8 years ago

@dkent600 - you may have an old build. The binding behaviors do exist: https://github.com/aurelia/validation/blob/master/src/validate-binding-behavior.ts

dkent600 commented 8 years ago

@jdanyow I am using build 0.12.5, and when I try to use those bindings I get a javascript exception indicating they have not been registered.

dkent600 commented 8 years ago

@jdanyow OK, I was misusing jspm, I see the latest is 0.13.1