Skip to content

docs(forms): clarify debounce('blur') usage with custom FormValueControl#69382

Open
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-debounce-blur-custom-control
Open

docs(forms): clarify debounce('blur') usage with custom FormValueControl#69382
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-debounce-blur-custom-control

Conversation

@erkamyaman

Copy link
Copy Markdown
Contributor

A custom FormValueControl only participates in debounce('blur') if it emits the touch output on the native blur event. This was undocumented, and the touch name reads like a focus event, so users wired it to (focus) and blur-based debouncing silently did nothing.

Add a dedicated guide section with a working example, link the debounce API reference to it, and clarify the touch JSDoc that it must fire on blur, not focus.

Fixes #69370

PR Checklist

Please check that 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
  • Other

What is the current behavior?

Issue Number: #69370

What is the new behavior?

Documents debounce('blur') with a custom FormValueControl: a guide example, a @see link from the debounce API, and a clarified touch JSDoc (emit on blur, not focus). Full context in #69370

Does this PR introduce a breaking change?

  • Yes
  • No

A custom FormValueControl only participates in debounce('blur') if it emits
the touch output on the native blur event. This was undocumented, and the
touch name reads like a focus event, so users wired it to (focus) and
blur-based debouncing silently did nothing.

Add a dedicated guide section with a working example, link the debounce API
reference to it, and clarify the touch JSDoc that it must fire on blur, not
focus.

Fixes angular#69370
@pullapprove pullapprove Bot requested a review from atscott June 16, 2026 20:14
@angular-robot angular-robot Bot added area: docs Related to the documentation area: forms labels Jun 16, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 16, 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.

Update doc about debounce('blur') and custom FormValueControl

1 participant