validation
validation copied to clipboard
validation documentation not updated for aurelia-webpack
I'm submitting a bug report The doc is not updated
Expected/desired behavior:
here at the beginning in the Introduction section, the documentation should say to use .plugin(PLATFORM.moduleName('aurelia-validation'))
instead of .plugin('aurelia-validation')
as noted here.
Cheers
@ilsergente1993 Thanks for spotting this. Would be great if you could help create a PR to fix this 👍
Sorry for the late answer. I created the PR in the aurelia/documentation repo. Cheers 👷
I changed to use the plugin as suggested above, I'm getting this error: VM74304 100:5253 Error: Invalid resource path [function ValidateBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; }]. Resources must be specified as relative module IDs. at FrameworkConfiguration.globalResources
Any idea why?
@szalmanov-kafene the error means you are using an old version of aurelia-framework
module. Maybe upgrade it?
Thanks for responding, I was going to follow up here - I updated all my aurelia packages and its working fine now. Thanks again!