René's URL Explorer Experiment


Title: Signal Forms interop: `transformedValue` parse errors reach a `FormValueControl` one change detection late under `ngModel` and `[formControl]` · Issue #71127 · angular/angular · GitHub

Open Graph Title: Signal Forms interop: `transformedValue` parse errors reach a `FormValueControl` one change detection late under `ngModel` and `[formControl]` · Issue #71127 · angular/angular

X Title: Signal Forms interop: `transformedValue` parse errors reach a `FormValueControl` one change detection late under `ngModel` and `[formControl]` · Issue #71127 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? No Description A FormValueControl that parses its text with transformedValue reports a parse error to ngModel and [formControl] through NgControl.setParse...

Open Graph Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? No Description A FormValueControl that parses its text with transformedValue reports a parse error to ngModel and ...

X Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? No Description A FormValueControl that parses its text with transformedValue reports a parse error to ngModel and ...

Opengraph URL: https://github.com/angular/angular/issues/71127

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Signal Forms interop: `transformedValue` parse errors reach a `FormValueControl` one change detection late under `ngModel` and `[formControl]`","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nforms\n\n### Is this a regression?\n\nNo\n\n### Description\n\nA `FormValueControl` that parses its text with `transformedValue` reports a parse error to `ngModel` and `[formControl]` through `NgControl.setParseErrorSource()`. The `FormControl` gets the error, but the control's own `errors` input does not follow until something else checks the host. Under `[formField]` it arrives at once.\n\n```ts\n@Component({\n  selector: 'app-number-input',\n  template: `\n    \u003cinput [value]=\"text()\" (input)=\"text.set($any($event.target).value)\" />\n    \u003cp>errors this control sees: {{ errors().length }}\u003c/p>\n  `,\n})\nexport class NumberInput implements FormValueControl\u003cnumber | null> {\n  readonly value = model\u003cnumber | null>(null);\n  readonly errors = input\u003creadonly ValidationError.WithOptionalFieldTree[]>([]);\n\n  protected readonly text = transformedValue(this.value, {\n    parse: (text: string): ParseResult\u003cnumber | null> => {\n      if (text === '') return { value: null };\n      const parsed = Number(text);\n      return Number.isNaN(parsed) ? { error: { kind: 'parse', message: 'Not a number.' } } : { value: parsed };\n    },\n    format: (value: number | null) => (value === null ? '' : String(value)),\n  });\n}\n\n@Component({\n  imports: [ReactiveFormsModule, NumberInput],\n  template: `\n    \u003capp-number-input [formControl]=\"control\" />\n    \u003c!-- Any event handler marks the host for check. -->\n    \u003cbutton (click)=\"(0)\">Check again\u003c/button>\n  `,\n})\nexport class App {\n  readonly control = new FormControl\u003cnumber | null>(null);\n}\n```\n\n1. Type `x` into the input.\n2. `control.errors` is `{ parse: { kind: 'parse', message: 'Not a number.' } }`, but the control still renders `errors this control sees: 0`.\n3. Click **Check again**: it now renders `errors this control sees: 1`.\n\nThe same happens with `[(ngModel)]`. Bound with `[formField]`, the control renders `1` right after step 1.\n\nThe cause looks like the effect in `setParseErrorSource()`. It calls `this.control?.updateValueAndValidity({ emitEvent: false })`, so `statusChanges` never emits and the `markForCheck` subscription that `setupCustomControl()` sets up never fires. `ngControlUpdate()`, which forwards `errors` to the control, then waits for the next unrelated check of the host. Marking the host for check from that effect would fix it.\n\n### Minimal reproduction\n\nThe two components above, zoneless, nothing else.\n\n### Exception or error\n\nNone: the control renders stale errors.\n\n### Environment\n\nAngular CLI 22.2.0, Angular 22.2.0, Node.js 26.7.0, darwin arm64. `setParseErrorSource()` is the same in 22.2.1, 22.3.0-next.0 and on `main`.\n\n### Anything else?\n\nThe workaround in the control: a `markForCheck()` after the next render whenever its parse errors change.\n","author":{"url":"https://github.com/Cynthion","@type":"Person","name":"Cynthion"},"datePublished":"2026-10-01T19:06:36Z","url":"https://github.com/angular/angular/issues/71127"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:71c7f5c4-1c00-4050-db28-f35a177cb71d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABD0:2D2F2F:38BE1F7:48620FF:6B01E89B
html-safe-nonce0581d26d51967986125ffd3c77849ffed12f54f53561f8b9376b356fcb469252
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkQwOjJEMkYyRjozOEJFMUY3OjQ4NjIwRkY6NkIwMUU4OUIiLCJ2aXNpdG9yX2lkIjoiNDgwNTk3MDA3NzAzODAxMjU3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5958e430ef0669a3ca3526afca856a733286d869c1260a69bda526a22ac75c97
hovercard-subject-tagissue:5667629835
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/71127/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5d584005c6336b50d1d829dcb7ed2d58112f9838ec931a8b9ab7a549a8310036/angular/angular/issues/71127
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d584005c6336b50d1d829dcb7ed2d58112f9838ec931a8b9ab7a549a8310036/angular/angular/issues/71127
og:image:altWhich @angular/* package(s) are the source of the bug? forms Is this a regression? No Description A FormValueControl that parses its text with transformedValue reports a parse error to ngModel and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCynthion
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/71127#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F71127
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F71127
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/71127
Reloadhttps://github.com/angular/angular/issues/71127
Reloadhttps://github.com/angular/angular/issues/71127
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests143 (143)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/71127
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/71127
#71132https://github.com/angular/angular/pull/71132
Signal Forms interop: transformedValue parse errors reach a FormValueControl one change detection late under ngModel and [formControl]https://github.com/angular/angular/issues/71127#top
#71132https://github.com/angular/angular/pull/71132
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
forms: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22forms%3A%20signals%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/Cynthion
Cynthionhttps://github.com/Cynthion
on Oct 1, 2026https://github.com/angular/angular/issues/71127#issue-5667629835
angular-robothttps://github.com/apps/angular-robot
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Oct 1, 2026https://github.com/angular/angular/issues/71127#event-32280802370
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Oct 1, 2026https://github.com/angular/angular/issues/71127#event-32280804954
Cynthionhttps://github.com/Cynthion
on Oct 1, 2026https://github.com/angular/angular/issues/71127#event-32282841320
Pin Each Upstream Defect Until Its Fix Ships (#33)https://github.com/Cynthion/ngx-formidable/commit/fec4f8c03b422dec820f84a983a114bdf5690d44
#33https://github.com/Cynthion/ngx-formidable/pull/33
fec4f8chttps://github.com/Cynthion/ngx-formidable/commit/fec4f8c03b422dec820f84a983a114bdf5690d44
JeanMechehttps://github.com/JeanMeche
on Oct 2, 2026https://github.com/angular/angular/issues/71127#event-32300402039
fix(forms): prevent duplicate valueChanges events on parseErrors updatehttps://github.com/JeanMeche/angular/commit/7c109935bf278ff82a3ca2ba7d4b22c704b3eafa
https://docs.github.com/articles/closing-issues-via-commit-messages
7c10993https://github.com/JeanMeche/angular/commit/7c109935bf278ff82a3ca2ba7d4b22c704b3eafa
JeanMechehttps://github.com/JeanMeche
forms: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22forms%3A%20signals%22
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Oct 29, 2026https://github.com/angular/angular/issues/71127#event-34632117056
github-project-automationhttps://github.com/apps/github-project-automation
Signal Formshttps://github.com/orgs/angular/projects/60
on Oct 29, 2026https://github.com/angular/angular/issues/71127#event-34633914500
thePunderWomanhttps://github.com/thePunderWoman
on Nov 9, 2026https://github.com/angular/angular/issues/71127#event-35602620778
fix(forms): prevent duplicate valueChanges events on parseErrors updatehttps://github.com/angular/angular/commit/84d332f9c589b8d50b9f4b5c532688d2e98e84b9
https://docs.github.com/articles/closing-issues-via-commit-messages
84d332fhttps://github.com/angular/angular/commit/84d332f9c589b8d50b9f4b5c532688d2e98e84b9
thePunderWomanhttps://github.com/thePunderWoman
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#71132https://github.com/angular/angular/pull/71132
on Nov 9, 2026https://github.com/angular/angular/issues/71127#event-35602621311
github-project-automationhttps://github.com/apps/github-project-automation
Signal Formshttps://github.com/orgs/angular/projects/60
on Nov 9, 2026https://github.com/angular/angular/issues/71127
thePunderWomanhttps://github.com/thePunderWoman
on Nov 9, 2026https://github.com/angular/angular/issues/71127#event-35602627793
fix(forms): prevent duplicate valueChanges events on parseErrors updatehttps://github.com/angular/angular/commit/67c4e8fc6c3409bbd018a6c71ff0a6270fd85e2f
https://docs.github.com/articles/closing-issues-via-commit-messages
67c4e8fhttps://github.com/angular/angular/commit/67c4e8fc6c3409bbd018a6c71ff0a6270fd85e2f
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/71127
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/71127
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
forms: signalshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22forms%3A%20signals%22
Signal Formshttps://github.com/orgs/angular/projects/60
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.