Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latitude & Longitude doesn't validate #98

Open
rebootcode opened this issue Aug 8, 2020 · 0 comments
Open

Latitude & Longitude doesn't validate #98

rebootcode opened this issue Aug 8, 2020 · 0 comments

Comments

@rebootcode
Copy link

rebootcode commented Aug 8, 2020

Even with the correct value, the latitude and longitude don't validate correctly. Below is the used value:

latitude: "51.50975743908446"
longitude: "-0.09299784755596675"

Error:

The latitude field must contain valid latitude

The longitude field must contain valid longitude

Rules:

"latitude":  []string{"required", "lat"},
"longitude": []string{"required", "lon"},

Passed Rules:

required value is passed but "lat", "lon" rules are not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant