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

ERROR Error: Cannot find control with unspecified name attribute #466

Open
EmadR opened this issue Jun 17, 2023 · 3 comments
Open

ERROR Error: Cannot find control with unspecified name attribute #466

EmadR opened this issue Jun 17, 2023 · 3 comments

Comments

@EmadR
Copy link

EmadR commented Jun 17, 2023

Hi
I have made a component of the calendar as follows:

<input matInput [matDatepicker]="dp1"
[formControl]="dateInput"
class="form-control"
(dateChange)="validateInput($event)">
<mat-datepicker-toggle matIconSuffix [for]="dp1">
<mat-datepicker #dp1 disabled="false">

Now I want to display this component inside the table using a loop, but I get the following error:
ERROR Error: Cannot find control with unspecified name attribute

@bbortt
Copy link
Collaborator

bbortt commented Jun 18, 2023

do you have a stacktrace available? :)

@EmadR
Copy link
Author

EmadR commented Jun 19, 2023

Can you explain a little more?
I do not understand what you mean

@bbortt
Copy link
Collaborator

bbortt commented Jun 19, 2023

https://stackoverflow.com/questions/3988788/what-is-a-stack-trace-and-how-can-i-use-it-to-debug-my-application-errors

a hint where I might start to look for the problem. or a reproducible example that shows where the error happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants