Skip to content

feat(forms): add error summaries to fields #63067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025

Conversation

leonsenft
Copy link
Contributor

Add an errorSummary signal to FieldState which contains all of the validation errors of a field and its descendants. This can be used to conveniently collect all form validation errors by reading it from the root field.

@pullapprove pullapprove bot requested a review from kirjs August 8, 2025 16:30
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: forms target: feature This PR is targeted for a feature branch (outside of main and semver branches) labels Aug 8, 2025
@ngbot ngbot bot added this to the Backlog milestone Aug 8, 2025
@leonsenft leonsenft requested a review from mmalerba August 8, 2025 16:30
@leonsenft leonsenft force-pushed the error-summary branch 3 times, most recently from f8b2dd0 to 4e27159 Compare August 9, 2025 00:28
Add an `errorSummary` signal to `FieldState` which contains all of the
validation errors of a field and its descendants. This can be used to
conveniently collect all form validation errors by reading it from the
root field.
@leonsenft leonsenft merged commit b86b1e8 into angular:prototype/signal-forms Aug 19, 2025
14 of 16 checks passed
@leonsenft leonsenft deleted the error-summary branch August 19, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: forms detected: feature PR contains a feature commit target: feature This PR is targeted for a feature branch (outside of main and semver branches)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants