Answers for "invalidcharactererror: failed to execute"

0

invalidcharactererror: failed to execute

[(ngModel)]="model.description"] // ']' is added unnecessarily

change it to

[(ngModel)]="model.description"

Don't wrap it to a square bracket.

Update:

You can initialize your model variable as follow according to your need,

model:ModalComponentModel=<ModalComponentModel>{};
OR

model:ModalComponentModel=<ModalComponentModel>[];
Posted by: Guest on March-19-2021

Code answers related to "invalidcharactererror: failed to execute"

Browse Popular Code Answers by Language