#How to populate data in another tab when we save the form in another tab
1 messages · Page 1 of 1 (latest)
I guess the best approach would be to create a service with a Subject(). When you click save you can emit on the subject using next() and in the other tab you can subscribe (or use | async) to get the data.
You can either emit the whole data to the subject or you could fetch the data with a GET request.
That will only work if by "tabs", you mean tabs in your own UI, and not tabs of the browser. You should clarify your question
@simple minnow Tabs in UI
on click on another tab, u need to subscribe new data.or after saving do subscribe before navigating u can subscribe new data and pass into your next tab.