Currently we are only console.logging the error when a user enters an invalid location. We need to display some kind of error message to user such as "Please enter a valid location".
On the initial location modal where a location is require, we need to not call the static resource api until a valid location has been entered.
To repro this error, enter "a" into the input location box:
Copied from original issue: Microsoft/Access2Justice#522
From @yfzwinnie on September 26, 2018 20:45
Currently we are only console.logging the error when a user enters an invalid location. We need to display some kind of error message to user such as "Please enter a valid location".
On the initial location modal where a location is require, we need to not call the static resource api until a valid location has been entered.
To repro this error, enter "a" into the input location box:
Copied from original issue: Microsoft/Access2Justice#522