Skip to content

docs: fix custom control metadata example in signal forms guide#67097

Open
kirjs wants to merge 1 commit intoangular:mainfrom
kirjs:metadata-docs
Open

docs: fix custom control metadata example in signal forms guide#67097
kirjs wants to merge 1 commit intoangular:mainfrom
kirjs:metadata-docs

Conversation

@kirjs
Copy link
Contributor

@kirjs kirjs commented Feb 17, 2026

This PR corrects the "Using metadata in custom controls" example in the Signal Forms guide.

The previous example incorrectly assumed was passed to the input. In reality, an accessor is passed.

Changes:

  • Corrected input type to .
  • Renamed input to for auto-binding.
  • Added a computed property for cleaner access.
  • Added missing model property.

It was incorretly assuming FieldState is passeed to formField input
@angular-robot angular-robot bot added the area: docs Related to the documentation label Feb 17, 2026
@ngbot ngbot bot added this to the Backlog milestone Feb 17, 2026
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants