Skip to content

feat(forms): add 'blur' option to debounce rule#67418

Merged
atscott merged 2 commits intoangular:mainfrom
leonsenft:sf-debounce-blur
Mar 5, 2026
Merged

feat(forms): add 'blur' option to debounce rule#67418
atscott merged 2 commits intoangular:mainfrom
leonsenft:sf-debounce-blur

Conversation

@leonsenft
Copy link
Contributor

Expands the debounce rule configuration to accept 'blur'. When this option is provided, the rule will delay model synchronization until the field loses focus (is touched). This introduces a debouncer that defers resolution until the framework automatically aborts pending debounces upon touch events.

This improves the developer ergonomics for scenarios where a form field should only update its backing model once the user has finished interacting with it.

Expands the `debounce` rule configuration to accept `'blur'`. When this option
is provided, the rule will delay model synchronization until the field loses
focus (is touched). This introduces a debouncer that defers resolution
until the framework automatically aborts pending debounces upon touch events.

This improves the developer ergonomics for scenarios where a form field should
only update its backing model once the user has finished interacting with it.
@leonsenft leonsenft added area: forms target: patch This PR is targeted for the next patch release forms: signals labels Mar 3, 2026
@ngbot ngbot bot modified the milestone: Backlog Mar 3, 2026
@leonsenft leonsenft requested a review from kirjs March 3, 2026 21:50
@leonsenft leonsenft marked this pull request as ready for review March 3, 2026 21:50
@pullapprove pullapprove bot requested a review from devversion March 3, 2026 21:50
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Mar 3, 2026
Copy link
Member

@JeanMeche JeanMeche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@JeanMeche JeanMeche removed the request for review from devversion March 3, 2026 23:28
@leonsenft leonsenft removed the request for review from kirjs March 5, 2026 06:34
@leonsenft leonsenft added the action: merge The PR is ready for merge by the caretaker label Mar 5, 2026
@atscott atscott merged commit c767d67 into angular:main Mar 5, 2026
21 checks passed
@atscott
Copy link
Contributor

atscott commented Mar 5, 2026

This PR was merged into the repository. The changes were merged into the following branches:

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: forms detected: feature PR contains a feature commit forms: signals target: patch This PR is targeted for the next patch release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants