angular/packages/forms/signals/compat/src
Leon Senft eeba51c50b refactor(forms): make markAsTouched() touch all descendants by default
`markAsTouched()` now marks all descendants as touched. In general this
method is called when controls update the model. Most controls update
leaf nodes, in which case this change has no effect.

Marking all descendants allows triggering validation for subsections of
a form, independently from having to call `submit()` on the entire form.

`markAsTouched()` now accepts a `MarkAsTouchedOptions` parameter, which
includes a `skipDescendants` property. This can be used mark only the
receiving field as touched: `node.markAsTouched({skipDescendants: true})`.
2026-03-16 16:03:36 -06:00
..
api refactor(forms): Address more feedback 2026-03-16 15:24:20 -06:00
signal_form_control refactor(forms): clean up 2026-02-23 09:09:55 -08:00
compat_field_adapter.ts refactor(forms): make markAsTouched() touch all descendants by default 2026-03-16 16:03:36 -06:00
compat_field_node.ts refactor(forms): simplify destroy subject handling 2026-02-18 07:12:02 -08:00
compat_node_state.ts build(forms): expose signal forms compat package 2025-11-14 09:23:36 -08:00
compat_structure.ts refactor(forms): Clean up the way errors are done 2026-02-02 14:51:40 -08:00
compat_validation_state.ts refactor(forms): make markAsTouched() touch all descendants by default 2026-03-16 16:03:36 -06:00