The widget had an issue when the user went to another page and then opened the page with the widget again. Because the uninitialize did not clear subscriptions, the old instance reacted to context object changes too, causing errors or the microflow being called multiple times.
Please note that you can also subscribe using the subscribe function of the widget template. These are automatically cleared upon initialize. I did not refactor the code, adding the unsubscribe to uninitialize solved the issue for now.
I also added an option to show a progress bar when loading the data.
Hi,
The widget had an issue when the user went to another page and then opened the page with the widget again. Because the uninitialize did not clear subscriptions, the old instance reacted to context object changes too, causing errors or the microflow being called multiple times.
Please note that you can also subscribe using the subscribe function of the widget template. These are automatically cleared upon initialize. I did not refactor the code, adding the unsubscribe to uninitialize solved the issue for now.
I also added an option to show a progress bar when loading the data.
Marcel