@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="address-autocomplete">
|
<div class="address-autocomplete">
|
||||||
<div class="">
|
|
||||||
<o-field
|
<o-field
|
||||||
:label-for="id"
|
:label-for="id"
|
||||||
:message="fieldErrors"
|
:message="fieldErrors"
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
:id="id"
|
:id="id"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
dir="auto"
|
dir="auto"
|
||||||
class="!mt-0"
|
class="!mt-0 !h-full"
|
||||||
>
|
>
|
||||||
<template #default="{ option }">
|
<template #default="{ option }">
|
||||||
<p class="flex gap-1">
|
<p class="flex gap-1">
|
||||||
@@ -135,11 +134,7 @@
|
|||||||
</o-field>
|
</o-field>
|
||||||
|
|
||||||
<o-field :label="t('Locality')" labelFor="localityInput">
|
<o-field :label="t('Locality')" labelFor="localityInput">
|
||||||
<o-input
|
<o-input v-model="selected.locality" id="localityInput" expanded />
|
||||||
v-model="selected.locality"
|
|
||||||
id="localityInput"
|
|
||||||
expanded
|
|
||||||
/>
|
|
||||||
</o-field>
|
</o-field>
|
||||||
</o-field>
|
</o-field>
|
||||||
|
|
||||||
@@ -162,9 +157,7 @@
|
|||||||
</o-button>
|
</o-button>
|
||||||
<p>
|
<p>
|
||||||
{{
|
{{
|
||||||
t(
|
t("You can drag and drop the marker below to the desired location")
|
||||||
"You can drag and drop the marker below to the desired location"
|
|
||||||
)
|
|
||||||
}}
|
}}
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
@@ -182,7 +175,6 @@
|
|||||||
:readOnly="false"
|
:readOnly="false"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { LatLng } from "leaflet";
|
import { LatLng } from "leaflet";
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<o-dropdown v-model="distance" position="bottom-right" v-if="distance">
|
<o-dropdown v-model="distance" position="bottom-right" v-if="distance">
|
||||||
<template #trigger="{ active }">
|
<template #trigger="{ active }">
|
||||||
<o-button
|
<o-button
|
||||||
|
class="!h-full"
|
||||||
:title="t('Select distance')"
|
:title="t('Select distance')"
|
||||||
:icon-right="active ? 'menu-up' : 'menu-down'"
|
:icon-right="active ? 'menu-up' : 'menu-down'"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user