I have a component which allows creating buttons and textboxes on click of corresponding button. Is there any way of accessing newly added elements? I have tried using ViewChildren and subscribing to the changes, but of no use. I tried with injecting elementref in constructor, but I want the ViewChildren to work properly i.e. the querylist to be updated.
Here is the link for the stackblitz example - https://stackblitz.com/edit/angular-w69vso