Adds input validation for latitude and longitude values in metadata settings form.

This commit is contained in:
mateuswetah 2024-09-02 14:59:02 -03:00
parent b3f90ed0ff
commit 0336cb5129
1 changed files with 6 additions and 2 deletions

View File

@ -86,7 +86,9 @@
:placeholder="-14.408656999999"
name="initialLatitude"
expanded
type="text"
type="number"
:min="-90"
:max="90"
:step="0.000000000001"
@update:model-value="emitValues()"
@focus="clear()" />
@ -95,7 +97,9 @@
:placeholder="-51.316689999999"
name="initialLongitude"
expanded
type="text"
type="number"
:min="-180"
:max="180"
:step="0.000000000001"
@update:model-value="emitValues()"
@focus="clear()" />