validation icon indicating copy to clipboard operation
validation copied to clipboard

validation documentation not updated for aurelia-webpack

Open ilsergente1993 opened this issue 5 years ago • 5 comments

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 avatar Apr 24 '19 17:04 ilsergente1993

@ilsergente1993 Thanks for spotting this. Would be great if you could help create a PR to fix this 👍

bigopon avatar Apr 24 '19 21:04 bigopon

Sorry for the late answer. I created the PR in the aurelia/documentation repo. Cheers 👷

ilsergente1993 avatar May 02 '19 12:05 ilsergente1993

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 avatar Aug 20 '20 20:08 szalmanov-kafene

@szalmanov-kafene the error means you are using an old version of aurelia-framework module. Maybe upgrade it?

bigopon avatar Aug 20 '20 22:08 bigopon

Thanks for responding, I was going to follow up here - I updated all my aurelia packages and its working fine now. Thanks again!

szalmanov-kafene avatar Aug 20 '20 22:08 szalmanov-kafene