aurelia / validatejs

Enables expressive validation using decorators and/or a fluent API.
MIT License
22 stars 23 forks source link

Plugin configuration works ? #62

Closed bsrdjan closed 8 years ago

bsrdjan commented 8 years ago

Any working example how to configure the aurelia-validatejs, to replace the default ValidationRenderer ?

The .plugin('aurelia-validatejs', (config) => {console.log('::', config)}); does not invoke the configuration, import {ValidationConfig} from 'aurelia-validatejs' is undefined and folowing test prints udefined

this.validator = new Validator(this.model);
console.log('::', this.validator.config);

Any help/hint/example highly appreciated.

plwalters commented 8 years ago

Duplicate / tracking - https://github.com/aurelia/validatejs/issues/2