Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Invalid longitude when navigating to Japan from US on Change your Location form map #82

Open
phu opened this issue Jun 14, 2017 · 0 comments

Comments

@phu
Copy link

phu commented Jun 14, 2017

My previous location was in the US; when attempting to change it to Tokyo, I zoomed out and dragged my way across the Pacific. On updating the other fields and submitting, nothing visible happened (no POST, no visible error message, nothing at all in the UI).

The (Chromium) console showed this error:

An invalid form control with name='longitude' is not focusable.

Removing the display:none styling from the longitude field's container, the map had set it to about -220, and the client-side validation was trying to display an error on that field, which showed up upon resubmitting with the field visible:

Value must be greater than or equal to -180.

Looking up the correct longitude for Tokyo (139.6917), entering it manually, and submitting resulted in success, and the map displays my location correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant