fix error when creating a group without a valid address
- make address input required in the group create- and group settings-view #27
This commit is contained in:
parent
c0d530be92
commit
e4607567ce
|
@ -21,6 +21,7 @@
|
|||
/>
|
||||
<o-autocomplete
|
||||
:data="addressData"
|
||||
:required="isRequired"
|
||||
v-model="queryTextWithDefault"
|
||||
:placeholder="placeholderWithDefault"
|
||||
:customFormatter="(elem: IAddress) => addressFullName(elem)"
|
||||
|
@ -216,6 +217,7 @@ const props = withDefaults(
|
|||
resultType?: AddressSearchType;
|
||||
defaultCoords?: string;
|
||||
allowManualDetails?: boolean;
|
||||
isRequired?: boolean;
|
||||
}>(),
|
||||
{
|
||||
defaultCoords: "0;0",
|
||||
|
@ -224,6 +226,7 @@ const props = withDefaults(
|
|||
hideMap: false,
|
||||
hideSelected: false,
|
||||
allowManualDetails: false,
|
||||
isRequired: false,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
<full-address-auto-complete
|
||||
:label="$t('Group address')"
|
||||
v-model="group.physicalAddress"
|
||||
:is-required="true"
|
||||
/>
|
||||
|
||||
<div class="field">
|
||||
|
|
|
@ -160,6 +160,7 @@
|
|||
v-model="currentAddress"
|
||||
:allowManualDetails="true"
|
||||
:hideMap="true"
|
||||
:is-required="true"
|
||||
/>
|
||||
|
||||
<div class="flex flex-wrap gap-2 my-2">
|
||||
|
|
Loading…
Reference in a new issue