Skip to content

markAsTouched on empty array not working #319

@fredpeaks

Description

@fredpeaks

Describe the bug
When markAsTouched is called on a form containing empty arrays , all the controls are touched but the empty arrays controls aren't.

To Reproduce
Steps to reproduce the behavior:
https://stackblitz.com/edit/stackblitz-starters-ygcq8n?file=src%2Fform-reducer.ts

Expected behavior
Empty arrays controls should be marked as touched.

Library version:
8.0.0

Additional context
I've already seen the related closed issue : #257

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions