open-forms
open-forms copied to clipboard
Update street and city fields when (bag) service retrurns a valid response.
Thema / Theme
Frontend
Omschrijving / Description
Scenario: User provides valid postcode and house number, but notices they made a mistake. User then proceeds to correct the mistake. Streetname and City will not update because they contain data, and this is the condition that is used to prevent a new query.
As a user i expect when i change is postcode and house number to update street and city fields automatically, because this is what i experienced the first time i entered these fields. This should only occur when/if the (bag) service returns valid street & city data to prevent the "removing" of previous entered data in these fields as described in: #1717
Aanvullende opmerkingen / Additional context
We could also inform the user if a location plugin is active and service does not return a street and city. provide them a trigger to empty the fields (street/city)