Skip to content

Commit

Permalink
Backport PR #522 (1 commit): Do not round latitude/longitude values i…
Browse files Browse the repository at this point in the history
…n AssetForm

Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Nov 2, 2022
1 parent 3e73847 commit 9937199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexmeasures/ui/crud/assets.py
Expand Up @@ -39,12 +39,12 @@ class AssetForm(FlaskForm):
name = StringField("Name")
latitude = DecimalField(
"Latitude",
places=4,
places=None,
render_kw={"placeholder": "--Click the map or enter a latitude--"},
)
longitude = DecimalField(
"Longitude",
places=4,
places=None,
render_kw={"placeholder": "--Click the map or enter a longitude--"},
)
attributes = StringField("Other attributes (JSON)", default="{}")
Expand Down

0 comments on commit 9937199

Please sign in to comment.