From e4607567cefa44688a17775db49bbd457cb602d8 Mon Sep 17 00:00:00 2001 From: summersamara Date: Tue, 28 Nov 2023 10:48:19 +0100 Subject: [PATCH] fix error when creating a group without a valid address - make address input required in the group create- and group settings-view https://git.potsda.mn/potsda.mn/mobilizon/issues/27 --- src/components/Event/FullAddressAutoComplete.vue | 3 +++ src/views/Group/CreateView.vue | 1 + src/views/Group/GroupSettings.vue | 1 + 3 files changed, 5 insertions(+) diff --git a/src/components/Event/FullAddressAutoComplete.vue b/src/components/Event/FullAddressAutoComplete.vue index 0302b737f..79d56847f 100644 --- a/src/components/Event/FullAddressAutoComplete.vue +++ b/src/components/Event/FullAddressAutoComplete.vue @@ -21,6 +21,7 @@ /> (), { defaultCoords: "0;0", @@ -224,6 +226,7 @@ const props = withDefaults( hideMap: false, hideSelected: false, allowManualDetails: false, + isRequired: false, } ); diff --git a/src/views/Group/CreateView.vue b/src/views/Group/CreateView.vue index 232b4975e..a99b9ec7c 100644 --- a/src/views/Group/CreateView.vue +++ b/src/views/Group/CreateView.vue @@ -84,6 +84,7 @@
diff --git a/src/views/Group/GroupSettings.vue b/src/views/Group/GroupSettings.vue index f49ba39d1..b116ad145 100644 --- a/src/views/Group/GroupSettings.vue +++ b/src/views/Group/GroupSettings.vue @@ -160,6 +160,7 @@ v-model="currentAddress" :allowManualDetails="true" :hideMap="true" + :is-required="true" />