How to use the ngx-custom-validators.CustomValidators.base64 function in ngx-custom-validators

To help you get started, we’ve selected a few ngx-custom-validators 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 NarikMe / narik-angular / projects / narik-core / src / lib / services / narik-validation.service.ts View on Github external
minLength: {
      func: Validators.minLength,
      params: ["minLength"]
    },
    pattern: {
      func: Validators.pattern,
      params: ["pattern"]
    },
    required: {
      func: Validators.required
    },
    requiredTrue: {
      func: Validators.requiredTrue
    },
    base64: {
      func: CustomValidators.base64,
      params: ["min"]
    },
    creditCard: {
      func: CustomValidators.creditCard
    },
    date: {
      func: CustomValidators.date
    },
    dateISO: {
      func: CustomValidators.dateISO
    },
    digits: {
      func: CustomValidators.digits
    },
    equal: {
      func: CustomValidators.equal,