Skip to content

fix(ngx-utils): Fix incorrect handling of form value in QueryParamSync #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

IbenTesara
Copy link
Contributor

@IbenTesara IbenTesara commented May 14, 2025

Description
We double check if the initial value has keys before setting the value. A patchValue is avoided as we do not want to mix previous state and new state at the initial sync.

Requirements

  • Correct label have been assigned
  • Project has been assigned
  • Milestone has been (created/)assigned

Attachments
Attach a video/screenshot/other attachment if necessary

@IbenTesara IbenTesara added this to the ngx-utils:v19.0.1 milestone May 14, 2025
@IbenTesara IbenTesara self-assigned this May 14, 2025
@IbenTesara IbenTesara added bug Something isn't working ngx-utils @studiohyperdrive/ngx-utils labels May 14, 2025
@IbenTesara IbenTesara merged commit b3edf30 into master May 14, 2025
@IbenTesara IbenTesara deleted the fix/angular/ngx-utils/params-sync-empty-params branch May 14, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ngx-utils @studiohyperdrive/ngx-utils
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ngx-utils]: NgxQueryParamsSyncComponent does not handle empty params correctly
2 participants