I'm trying to configure Aurelia Validation (release 0.2.6) to get all of the validation messages appended to <input>
element instead of label.
My main.js looks like this:
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
.plugin('aurelia-validation', (config) => { config.useLocale('de-DE').useViewStrategy(ValidateCustomAttributeViewStrategy.TWBootstrapAppendToInput); });
aurelia.start().then(a => a.setRoot('app', document.body));
}
I alway get the following error message:
Unhandled promise rejection ReferenceError: ValidateCustomAttributeViewStrategy is not defined
What am I doing wrong?