canopy-forms-validation

Official

Best practices for Canopy form validation.

AuthorLegal-and-General
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Inconsistent inline form errors and form-level validation across Canopy components in Angular projects, leading to a poor user experience and maintenance overhead.

Core Features & Use Cases

  • Guidance for using LgValidationComponent and LgErrorStateMatcher to consistently display inline validation messages.
  • Patterns for error state matching, accessible messaging, and form-level validation across multiple Canopy forms.
  • Real-world scenarios include login and signup forms, data entry workflows, and any form with required or minimum length constraints.

Quick Start

Apply the provided validation patterns to your Angular Canopy forms.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: canopy-forms-validation
Download link: https://github.com/Legal-and-General/canopy/archive/main.zip#canopy-forms-validation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.