Why does IE 11 render 'null' if my model does not exist? For instance:
<tr>
<td [innerHTML]="model?.prop1 | my-pipe"></td>
</tr>
Imagine this scenario: When the page loads, a request is sent to the server and the response is in JSON format with a prop1
field. If the server responds with a 404 error (or any other error, the reason is irrelevant), my model becomes null and IE 11 browser displays NULL
within the td
tag, whereas FF and Chrome display an empty space in this tag.
P.S. I am curious about the rationale behind this behavior. I am aware of how to resolve it. Thank you.