Below is the URL to access the code:
https://stackblitz.com/edit/ng-zorro-antd-start-xz4c93
Inquiring about creating a new array. For example, upon clicking the submit button, the desired output should resemble the following structure:
"tasks": [
{
"id": "HmQiCcZUXbSF",
"failed": false,
"remarks": "Ok",
"task": {
"id": "1fKBO4w0XHg7H",
"name": "Task 1",
"description": "Check oil spill"
}
},
{
"id": "1qK7AUzgEbqBH",
"failed": false,
"remarks": "Ok",
"task": {
"id": "ESOSA6aCrOER",
"name": "Sample1",
"description": "Desc1"
}
}
],
The expected output matches the above format.
My current output can be viewed here: https://i.sstatic.net/YkJDm.png
It should resemble that of Postman communication.
{
"id": "1foNLPYHsSmVv",
"createdBy": "admin",
"timeCreated": "2019-12-16 12:47:56",
"updatedBy": "admin",
"timeUpdated": "2019-12-16 12:47:56",
"remarks": "All is fine",
"tasks": [
{
"id": "w1lPuzJIDouF",
"failed": false,
"remarks": "Ok",
"task": {
"id": "1fKBO4w0XHg7H",
"name": "Task 1",
"description": "Check oil spill"
}
},
{
"id": "1foD7MW0rRDdH",
"failed": false,
"remarks": "Ok",
"task": {
"id": "ESOSA6aCrOER",
"name": "Sample1",
"description": "Desc1"
}
}
]
}