How to use the aurelia-validation.validationMessages.minLength function in aurelia-validation

To help you get started, we’ve selected a few aurelia-validation examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jbockle / aurelia-json-schema-form / src / aurelia-json-schema-form / rules / string-rules.ts View on Github external
setCustomMessages() {
    validationMessages.minLength = this.configuration.messages.minLength || validationMessages.minLength;
    validationMessages.maxLength = this.configuration.messages.maxLength || validationMessages.maxLength;
    validationMessages.matches = this.configuration.messages.pattern || validationMessages.matches;
    validationMessages.email = this.configuration.messages.format_email || validationMessages.email;
  }
github jbockle / aurelia-json-schema-form / dist / es2015 / rules / string-rules.js View on Github external
setCustomMessages() {
        validationMessages.minLength = this.configuration.messages.minLength || validationMessages.minLength;
        validationMessages.maxLength = this.configuration.messages.maxLength || validationMessages.maxLength;
        validationMessages.matches = this.configuration.messages.pattern || validationMessages.matches;
        validationMessages.email = this.configuration.messages.format_email || validationMessages.email;
    }
    add() {