REQUIREMENT_MIN_LENGTH

const
Form & Validation

Factory function that produces a password-strength requirement descriptor for a minimum character count. Returns key, human-readable message, icon glyph, and a parametric regex matching at least N characters.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamPasswordField

Usage

Examples

Ready-to-paste code snippets using this constant.

Generating a min-length requirement for 8 characters

typescript