TNG / ngqp

Declaratively synchronize form controls with the URL

Home Page:https://tng.github.io/ngqp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove query params on destroy

Airblader opened this issue · comments

What's your idea?

Maybe we should have an option that if the queryParamGroup is destroyed, the parameters are removed from the URL.

This one might be tricky because there could be issues if the component is destroyed because of an ongoing navigation… not sure if we'd cause some race condition in the router here.

I'll close this for now until we have a specific use-case for this.