open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

Changing postcode does not trigger update of "DeriveStreetName"

Open LaurensBurger opened this issue 2 years ago • 6 comments

Product versie / Product version

2.0.2

Omschrijf het probleem / Describe the bug

intern: LV 41

When a user changes the postcode - the fields derived from this field do not update. They will stay filled in by the old street name that was derived from the initial postcode.

Initial postcode, house number input and derived streetname: image

After changing the postcode and house number: image

Only after manually removing street name and city do this fields update to the newly entered postcode. This can be seen in the network tab, where changing the postcode olny triggers a "check_logic" and removing the streetname triggers a "get_street_name_and_city"

Verwacht gedrag / Expected behavior

If a postcode is altered to something different the "get_street_name_and_city" call should be made to ensure the derived fields are properly updated.

Screen resolution

None

Device

None

OS

None

Browser

No response

LaurensBurger avatar Jan 17 '23 10:01 LaurensBurger