Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
fix: longitude
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Burtey committed Oct 21, 2023
1 parent b2cba96 commit 71f10d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/account/business-map-update.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const BusinessMapUpdate: React.FC<{
name="longitude"
required
type="text"
pattern="^(-|\+)??(180(\.0+?)??|([0-8]??\d)(\.\d+?)??)$"
pattern="^[-+]?(180(\.0{1,6})?|((\d{1,2}|[0-9][0-9][0-9])?(\.\d{1,12})?))$"
placeholder="Enter longitude"
className={`mt-4 shadow appearance-none border rounded w-full py-2 px-3 text-gray-600 focus:outline-none focus:shadow-outline`}
/>
Expand Down

0 comments on commit 71f10d6

Please sign in to comment.