If you configure validation rules, and use the validate binding behaviour in you markup, but you do not call the getValidationReporter method, you get the following error...
ERROR [app-router] TypeError: Cannot read property 'subscribe' of undefined
at ValidateBindingBehavior.bind (webpack:///./~/aurelia-validatejs/dist/commonjs/validate-binding-behavior.js?:31:13)
at BindingBehavior.bind (webpack:///./~/aurelia-binding/dist/commonjs/aurelia-binding.js?:1195:19)
at Binding.bind (webpack:///./~/aurelia-binding/dist/commonjs/aurelia-binding.js?:4672:29)
......
Surely this should be automatically called if it doesn't already exist as it seems to be some kind of singleton for each model?
If you configure validation rules, and use the validate binding behaviour in you markup, but you do not call the getValidationReporter method, you get the following error...
Surely this should be automatically called if it doesn't already exist as it seems to be some kind of singleton for each model?