You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
When updating the queryParams of a component via this.router.navigate([], { queryParams: { search: 'b' } });, the formControl search is not updated.
Expected behavior
The formControl search should be updated with the value b
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
When navigating through the app, inputs should match the queryParams even if the component is reused.
The binding should be "bi-directional".
The only way to achieve this is to completely destroy the component or manually listen to queryParams and update the form.
I can eventually do the PR, do not hesitate if you have any ideas on how to implement it.
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
When updating the queryParams of a component via
this.router.navigate([], { queryParams: { search: 'b' } });
, the formControlsearch
is not updated.Expected behavior
The formControl
search
should be updated with the valueb
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/stackblitz-starters-3f5dsm?file=src%2Fapp%2Fapp.component.ts
What is the motivation / use case for changing the behavior?
When navigating through the app, inputs should match the queryParams even if the component is reused.
The binding should be "bi-directional".
The only way to achieve this is to completely destroy the component or manually listen to queryParams and update the form.
I can eventually do the PR, do not hesitate if you have any ideas on how to implement it.
The text was updated successfully, but these errors were encountered: