Skip to content

fix(forms): memoize deepSignal value #62999

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

Conversation

leonsenft
Copy link
Contributor

Test that submission errors are cleared from their corresponding field when its value is changed. Submission errors should not be cleared from fields whose values remain unchanged. This behavior relies on fields memoizing their value, which deepSignal() now does.

@pullapprove pullapprove bot requested a review from mmalerba August 4, 2025 21:08
@angular-robot angular-robot bot added area: forms target: feature This PR is targeted for a feature branch (outside of main and semver branches) labels Aug 4, 2025
@ngbot ngbot bot added this to the Backlog milestone Aug 4, 2025
@leonsenft leonsenft requested review from kirjs and alxhub and removed request for mmalerba August 4, 2025 21:17
Test that submission errors are cleared from their corresponding field
when its value is changed. Submission errors should not be cleared from
fields whose values remain unchanged. This behavior relies on fields
memoizing their value, which `deepSignal()` now does.
@leonsenft leonsenft force-pushed the memoize-deep-signal branch from 6522e9a to dbbe15a Compare August 5, 2025 20:32
@leonsenft leonsenft removed the request for review from alxhub August 5, 2025 20:32
@leonsenft leonsenft merged commit 6dbe4b7 into angular:prototype/signal-forms Aug 5, 2025
16 checks passed
@leonsenft leonsenft deleted the memoize-deep-signal branch August 5, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: forms 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