Merge pull request #1421 from umap-project/float-step-any
Use step=any by default for FloatInput
This commit is contained in:
commit
10fa1fd029
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@
|
|||
"leaflet-contextmenu": "^1.4.0",
|
||||
"leaflet-editable": "^1.2.0",
|
||||
"leaflet-editinosm": "0.2.3",
|
||||
"leaflet-formbuilder": "0.2.7",
|
||||
"leaflet-formbuilder": "0.2.9",
|
||||
"leaflet-fullscreen": "1.0.2",
|
||||
"leaflet-hash": "0.2.1",
|
||||
"leaflet-i18n": "0.3.3",
|
||||
|
|
|
@ -680,8 +680,8 @@ L.U.Marker = L.Marker.extend({
|
|||
appendEditFieldsets: function (container) {
|
||||
L.U.FeatureMixin.appendEditFieldsets.call(this, container)
|
||||
const coordinatesOptions = [
|
||||
['_latlng.lat', { handler: 'FloatInput', label: L._('Latitude'), step: 'any' }],
|
||||
['_latlng.lng', { handler: 'FloatInput', label: L._('Longitude'), step: 'any' }],
|
||||
['_latlng.lat', { handler: 'FloatInput', label: L._('Latitude') }],
|
||||
['_latlng.lng', { handler: 'FloatInput', label: L._('Longitude') }],
|
||||
]
|
||||
const builder = new L.U.FormBuilder(this, coordinatesOptions, {
|
||||
callback: function () {
|
||||
|
|
Loading…
Reference in a new issue