Have any of you implemented aurelia + breeze + validation? Is there an example available? When I implement only the breeze it validates, but does not show errors (in release 1.0.0 show errors but dont in last realase (2.2.0) the feature was removed) in the form?
Attempts made:
Using Aurelia-Validation (My attempt shown below)
Breeze-Validation (This, only works on version 1.0.0 (or lower) of the aurelia breeze feature has been removed)
Attempt
My main.js:
Import 'bootstrap';
Import BreezeValidator from './breeze-validator';
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging();
aurelia.use
.plugin('aurelia-breeze');
aurelia.use
.plugin('aurelia-validation', config => config.customValidator(BreezeValidator));
aurelia.start().then(() => aurelia.setRoot());
}
Error message: Unhandled rejection Error: key / value can not be null or undefined. Are you trying to inject / register something that does not exist with DI