How can I gather data from an html page using ngModel
and store them in a declared object? I want to then iterate through this object on the HTML page using ngFor
.
I have already attempted this, but I encountered the following error:
The error message states: "Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays."