REQUIREMENT_UPPERCASE
const
Form & Validation
Password strength requirement descriptor asserting that the value contains at least one uppercase letter (A-Z). Used by OrigamPasswordField to display and validate the uppercase character rule.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- key: 'uppercase'
- Internal identifier matched by infos and locale interpolation.
- message: 'a uppercase'
- Human-readable validation message label (uppercase letter).
- icon: 'A'
- Single-character glyph rendered in the requirements popup tile.
- reg: /(?=.*[A-Z])/
- Regex matching any string containing at least one uppercase letter.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamPasswordField
Usage
Examples
Ready-to-paste code snippets using this constant.
Checking the uppercase requirement