Answer the question
In order to leave comments, you need to log in
Why is the model not updated in IE if the console is not open?
Please, tell me:
I am making an application based on the example https://metanit.com/sharp/aspnetcore/2.4.php
Chrome, Mozilla - norms.
But in IE 11, the model is not updated after saving or deleting.
And if the browser console is open, then everything is fine.
Googled. There are similar problems. As I understand it, you need to hang a timeout, but here's where.
...
save() {
this.dataService.createProduct(this.product).subscribe(data => this.router.navigateByUrl("/"));
}
...
createProduct(product: Product) {
return this.http.post(this.url, product);
}
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question