From 57ba3d11d56030d6b1a4a91e783bea8228560ffb Mon Sep 17 00:00:00 2001 From: flisowna Date: Mon, 24 Oct 2022 22:04:43 +0400 Subject: [PATCH] geodata: WIP geodata column type --- packages/nc-gui/components/cell/GeoData.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/nc-gui/components/cell/GeoData.vue b/packages/nc-gui/components/cell/GeoData.vue index 3286fd4648..945d472200 100644 --- a/packages/nc-gui/components/cell/GeoData.vue +++ b/packages/nc-gui/components/cell/GeoData.vue @@ -19,7 +19,11 @@ const vModel = useVModel(props, 'modelValue', emits) const editEnabled = inject(EditModeInj) const latitudeInput = ref(vModel?.value?.latitude || '') -const longitudeeInput = ref(vModel?.value?.latitude || '') +const longitudeInput = ref(vModel?.value?.latitude || '') + +const onSubmit = () => { + alert('SUBMIT') +} // const isOpen = ref(false) @@ -44,14 +48,14 @@ const longitudeeInput = ref(vModel?.value?.latitude || '')
Test222 {{ JSON.stringify(vModel) }} -
+
- - {{ vModel.latitude }} + + {{ latitudeInput }} - - {{ vModel.longitude }} - Ok + + {{ longitudeInput }} + Ok