Adds input validation for latitude and longitude values in metadata settings form.
This commit is contained in:
parent
b3f90ed0ff
commit
0336cb5129
|
@ -86,7 +86,9 @@
|
||||||
:placeholder="-14.408656999999"
|
:placeholder="-14.408656999999"
|
||||||
name="initialLatitude"
|
name="initialLatitude"
|
||||||
expanded
|
expanded
|
||||||
type="text"
|
type="number"
|
||||||
|
:min="-90"
|
||||||
|
:max="90"
|
||||||
:step="0.000000000001"
|
:step="0.000000000001"
|
||||||
@update:model-value="emitValues()"
|
@update:model-value="emitValues()"
|
||||||
@focus="clear()" />
|
@focus="clear()" />
|
||||||
|
@ -95,7 +97,9 @@
|
||||||
:placeholder="-51.316689999999"
|
:placeholder="-51.316689999999"
|
||||||
name="initialLongitude"
|
name="initialLongitude"
|
||||||
expanded
|
expanded
|
||||||
type="text"
|
type="number"
|
||||||
|
:min="-180"
|
||||||
|
:max="180"
|
||||||
:step="0.000000000001"
|
:step="0.000000000001"
|
||||||
@update:model-value="emitValues()"
|
@update:model-value="emitValues()"
|
||||||
@focus="clear()" />
|
@focus="clear()" />
|
||||||
|
|
Loading…
Reference in New Issue