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

Encountered exception Error: Cannot find control with name: 'property,property' #92

Closed
maxime1992 opened this issue Aug 20, 2019 · 3 comments
Labels
effort-1: minutes Will only take a few minutes to fix/create flag: good for first contribution Good for a first PR on the repo scope: lib Anything related to the library itself type: bug/fix This is a bug or at least needs a fix workaround-1: obvious Obvious workaround

Comments

@maxime1992
Copy link
Contributor

When using a formArray it is not possible to use [formArrayName]="formControlNames.property"

It seems that this key is concatenating the property name as many time as there's values in the array

Encountered exception Error: Cannot find control with name: 'property,property'
@maxime1992 maxime1992 added effort-1: minutes Will only take a few minutes to fix/create flag: good for first contribution Good for a first PR on the repo scope: lib Anything related to the library itself type: bug/fix This is a bug or at least needs a fix workaround-1: obvious Obvious workaround labels Aug 20, 2019
@maxime1992
Copy link
Contributor Author

To be clear, the workaround for now is to simply use formArrayName="property"

@zakhenry
Copy link
Contributor

This was fixed in 96fa4e8 ?

@maxime1992
Copy link
Contributor Author

Duplicate of #73 and solved by #78

I was running 2.11.1 instead of 2.11.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort-1: minutes Will only take a few minutes to fix/create flag: good for first contribution Good for a first PR on the repo scope: lib Anything related to the library itself type: bug/fix This is a bug or at least needs a fix workaround-1: obvious Obvious workaround
Projects
None yet
Development

No branches or pull requests

2 participants