Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markAsTouched on empty array not working #319

Open
fredpeaks opened this issue Jul 16, 2024 · 0 comments
Open

markAsTouched on empty array not working #319

fredpeaks opened this issue Jul 16, 2024 · 0 comments
Labels

Comments

@fredpeaks
Copy link

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

@fredpeaks fredpeaks added the bug label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant