Skip to content

feat(forms): add reloadValidation to Signal Forms to manually trigger async validation#67360

Open
alxhub wants to merge 1 commit intoangular:mainfrom
alxhub:sf/reload-validation
Open

feat(forms): add reloadValidation to Signal Forms to manually trigger async validation#67360
alxhub wants to merge 1 commit intoangular:mainfrom
alxhub:sf/reload-validation

Conversation

@alxhub
Copy link
Member

@alxhub alxhub commented Feb 27, 2026

This commit introduces a formal mechanism to manually re-trigger asynchronous validations in Signal Forms, addressing #66994.

It exposes a reloadValidation method on the FieldState interface that recursively cascades down the form tree and invokes the underlying ResourceRef's reload() method for any metadata keys tagged with the internal IS_ASYNC_VALIDATION_RESOURCE symbol.

Fixes #66994

…er async validation

This commit introduces a formal mechanism to manually re-trigger
asynchronous validations in Signal Forms, addressing angular#66994.

It exposes a `reloadValidation` method on the `FieldState` interface
that recursively cascades down the form tree and invokes the underlying
`ResourceRef`'s `reload()` method for any metadata keys tagged with the
internal `IS_ASYNC_VALIDATION_RESOURCE` symbol.

Fixes angular#66994
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: forms labels Feb 27, 2026
@ngbot ngbot bot added this to the Backlog milestone Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: forms detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signals Forms: add a way to trigger the validation manually

1 participant