GewässerCampus is an educational project on limnology aiming to provide students the possibility to analyse, publish and discuss results of self-conducted measurements of water-quality in rivers and lakes.
When creating a new measurement, the water item selected from the list of suggestions should be reset if the location is changed and the selected water is not one of the items suggested at the new location.
You can reproduce the issue by following these steps (in the add measurement form):
Select a location by placing the pin near a water at the map.
Select the water from suggestions.
Move the pin to any location not near to any water.
As a consequence, there are no suggestions to select a water from, but the user is able to continue, add parameters and save the measurement, which then uses the in the second step selected water but the location from the third step (which do not match).
When creating a new measurement, the water item selected from the list of suggestions should be reset if the location is changed and the selected water is not one of the items suggested at the new location.
You can reproduce the issue by following these steps (in the add measurement form):
As a consequence, there are no suggestions to select a water from, but the user is able to continue, add parameters and save the measurement, which then uses the in the second step selected water but the location from the third step (which do not match).