GitHub

DaffFormsPasswordValidatorLengthConfig

The length config describes a password requirement that specifies maxmimum and/or minimum lengths.

import { DaffFormsPasswordValidatorLengthConfig } from '@daffodil/forms'
interface DaffFormsPasswordValidatorLengthConfig {
  minLength: number
  maxLength: number
}

Properties

Name Type Description
minLength number

The minimum length.

maxLength number

The maximum length.