Skip to content

docs(forms): correct signal field access in form model example#69499

Open
aparzi wants to merge 1 commit into
angular:mainfrom
aparzi:fix-typo-in-doc
Open

docs(forms): correct signal field access in form model example#69499
aparzi wants to merge 1 commit into
angular:mainfrom
aparzi:fix-typo-in-doc

Conversation

@aparzi

@aparzi aparzi commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

The myForm field is a callable FieldTree, so its value must be read via this.myForm().value(). Fixes two examples that incorrectly used this.myForm.value().

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #69498

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

The `myForm` field is a callable `FieldTree`, so its value must be read
via `this.myForm().value()`. Fixes two examples that incorrectly used
`this.myForm.value()`.
@pullapprove pullapprove Bot requested a review from bencodezen June 24, 2026 15:27
@angular-robot angular-robot Bot added area: docs Related to the documentation area: forms labels Jun 24, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation area: forms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant