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"
|
||||
:aria-id="`${id}-address-details`"
|
||||
class="my-3"
|
||||
v-if="allowManualDetails"
|
||||
>
|
||||
<template #trigger>
|
||||
<o-button
|
||||
@ -210,6 +211,7 @@ const props = withDefaults(
|
||||
placeholder?: string;
|
||||
resultType?: AddressSearchType;
|
||||
defaultCoords?: string;
|
||||
allowManualDetails?: boolean;
|
||||
}>(),
|
||||
{
|
||||
defaultCoords: "0;0",
|
||||
@ -217,6 +219,7 @@ const props = withDefaults(
|
||||
disabled: false,
|
||||
hideMap: false,
|
||||
hideSelected: false,
|
||||
allowManualDetails: false,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -115,6 +115,7 @@
|
||||
v-model="eventPhysicalAddress"
|
||||
:user-timezone="userActualTimezone"
|
||||
:disabled="event.options.isOnline"
|
||||
:allowManualDetails="true"
|
||||
:hideSelected="true"
|
||||
/>
|
||||
<o-switch class="my-4" v-model="isOnline">{{
|
||||
|
@ -158,6 +158,7 @@
|
||||
<full-address-auto-complete
|
||||
:label="t('Group address')"
|
||||
v-model="currentAddress"
|
||||
:allowManualDetails="true"
|
||||
:hideMap="true"
|
||||
/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user