Currently facing an issue with the [(ngModel)] below as I am not receiving any values from the backend:
<input type="number"
[(ngModel)]="list.test[0]">
The error arises due to the absence of values in the test array from the backend, resulting in a property 0 of undefined error.
I attempted using [(ngModel)]="list?.test[0]"
but it did not resolve the issue either.