mat-datetimepicker icon indicating copy to clipboard operation
mat-datetimepicker copied to clipboard

ERROR Error: Cannot find control with unspecified name attribute

Open EmadR opened this issue 1 year ago • 3 comments

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

EmadR avatar Jun 17 '23 12:06 EmadR

do you have a stacktrace available? :)

bbortt avatar Jun 18 '23 17:06 bbortt

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

EmadR avatar Jun 19 '23 06:06 EmadR

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.

bbortt avatar Jun 19 '23 17:06 bbortt