@snabcentr/client-ui 5.1.3 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2485,10 +2485,12 @@ class ScAddressesSelectionFieldComponent {
2485
2485
  .getCityById$(Number(this.cityIdControl.value))
2486
2486
  .pipe(takeUntilDestroyed(this.destroyRef))
2487
2487
  .subscribe((city) => {
2488
- this.countryControl.patchValue(city.region.country);
2489
- this.regionControl.patchValue(city.region);
2490
- this.cityControl.patchValue(city);
2491
2488
  this.canSelectCountry.set(city.region.country.id !== this.russiaCountryId);
2489
+ setTimeout(() => {
2490
+ this.countryControl.patchValue(city.region.country);
2491
+ this.regionControl.patchValue(city.region);
2492
+ this.cityControl.patchValue(city);
2493
+ });
2492
2494
  });
2493
2495
  }
2494
2496
  this.countryControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((country) => {