S
S
stepa902020-07-08 11:10:21
Angular
stepa90, 2020-07-08 11:10:21

How to catch the completion of rendering a template change?

I have a search field in the template, when you enter, there is a request to issue a large list, which is then drawn in the same template.
I'm having a problem changing the readonly status of the search field while an http request is in progress. I connected it with the status of the request, when the request ends, I change readonly to false, but the list has not yet been drawn, because the list is drawn quite difficult, because of this there is a problem, there is no list yet, but the search field is already editable.
How to hang a handler to complete the display of template changes?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question