fix(map): Only show map details when needed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
eda2761032
commit
23b5e5930c
@ -90,6 +90,7 @@
|
|||||||
v-model:open="detailsAddress"
|
v-model:open="detailsAddress"
|
||||||
:aria-id="`${id}-address-details`"
|
:aria-id="`${id}-address-details`"
|
||||||
class="my-3"
|
class="my-3"
|
||||||
|
v-if="allowManualDetails"
|
||||||
>
|
>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<o-button
|
<o-button
|
||||||
@ -210,6 +211,7 @@ const props = withDefaults(
|
|||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
resultType?: AddressSearchType;
|
resultType?: AddressSearchType;
|
||||||
defaultCoords?: string;
|
defaultCoords?: string;
|
||||||
|
allowManualDetails?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
defaultCoords: "0;0",
|
defaultCoords: "0;0",
|
||||||
@ -217,6 +219,7 @@ const props = withDefaults(
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
hideMap: false,
|
hideMap: false,
|
||||||
hideSelected: false,
|
hideSelected: false,
|
||||||
|
allowManualDetails: false,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -115,6 +115,7 @@
|
|||||||
v-model="eventPhysicalAddress"
|
v-model="eventPhysicalAddress"
|
||||||
:user-timezone="userActualTimezone"
|
:user-timezone="userActualTimezone"
|
||||||
:disabled="event.options.isOnline"
|
:disabled="event.options.isOnline"
|
||||||
|
:allowManualDetails="true"
|
||||||
:hideSelected="true"
|
:hideSelected="true"
|
||||||
/>
|
/>
|
||||||
<o-switch class="my-4" v-model="isOnline">{{
|
<o-switch class="my-4" v-model="isOnline">{{
|
||||||
|
@ -158,6 +158,7 @@
|
|||||||
<full-address-auto-complete
|
<full-address-auto-complete
|
||||||
:label="t('Group address')"
|
:label="t('Group address')"
|
||||||
v-model="currentAddress"
|
v-model="currentAddress"
|
||||||
|
:allowManualDetails="true"
|
||||||
:hideMap="true"
|
:hideMap="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user