diff --git a/assets/style.css b/assets/style.css
index dd7654be..d46f4507 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -149,12 +149,12 @@ li {
max-width: 1200px;
}
-.tags .v-chip .v-chip__content {
+/* .tags .v-chip .v-chip__content {
max-width: 120px;
white-space: nowrap;
overflow: hidden;
display: block;
-}
+} */
.cursorPointer {
diff --git a/components/Confirm.vue b/components/Confirm.vue
index 7617fe32..0c8f2919 100644
--- a/components/Confirm.vue
+++ b/components/Confirm.vue
@@ -12,8 +12,8 @@ v-dialog(v-model='show'
v-card-text(v-show='!!message') {{ message }}
v-card-actions
v-spacer
- v-btn(text color='error' @click='cancel') {{$t('common.cancel')}}
- v-btn(text color='primary' @click='agree') {{$t('common.ok')}}
+ v-btn(outlined color='error' @click='cancel') {{$t('common.cancel')}}
+ v-btn(outlined color='primary' @click='agree') {{$t('common.ok')}}
+
+
diff --git a/components/Nav.vue b/components/Nav.vue
index 5bd83eef..c640cfa4 100644
--- a/components/Nav.vue
+++ b/components/Nav.vue
@@ -1,5 +1,5 @@
-
-v-row
+v-row.mb-4
v-col(cols=12 md=6)
v-combobox(ref='place'
:rules="[$validators.required('common.where')]"
@@ -10,9 +10,8 @@ v-row
hide-no-data
@input.native='search'
persistent-hint
- :value='value'
+ :value='value.name'
:items="places"
- item-text='name'
@focus='search'
@change='selectPlace')
template(v-slot:item="{ item, attrs, on }")
@@ -23,19 +22,49 @@ v-row
v-list-item-title(v-text='item.name')
v-list-item-subtitle(v-text='item.address')
+ //- v-text-field(
+ //- ref='address'
+ //- :prepend-icon='mdiMap'
+ //- :disabled='disableAddress'
+ //- :rules="[ v => disableAddress ? true : $validators.required('common.address')(v)]"
+ //- :label="$t('common.address')"
+ //- @change="changeAddress"
+ //- :value="value.address")
v-col(cols=12 md=6)
- v-text-field(ref='address'
- :prepend-icon='mdiMap'
+ v-combobox.mr-4(ref='address'
+ :prepend-icon='mdiMapSearch'
:disabled='disableAddress'
- :rules="[ v => disableAddress ? true : $validators.required('common.address')(v)]"
- :label="$t('common.address')"
- @change="changeAddress"
- :value="value.address")
+ @input.native='searchCoordinates'
+ :label="$t('event.coordinates_search')"
+ :value='value.address'
+ persistent-hint hide-no-data clearable no-filter
+ :loading='loading'
+ @change='selectDetails'
+ @focus='searchCoordinates'
+ :items="detailsList"
+ :hint="$t('event.coordinates_search_description')")
+ template(v-slot:item="{ item, attrs, on }")
+ v-list-item(v-bind='attrs' v-on='on')
+ v-list-item-content(two-line v-if='item')
+ v-list-item-title(v-text='item.name')
+ v-list-item-subtitle(v-text='`${item.address}`')
+ //- v-col(cols=12 md=3 v-if='settings.allow_geolocation')
+ //- v-text-field(ref='latitude' :value='value.latitude'
+ //- :prepend-icon='mdiLatitude'
+ //- :disabled='disableDetails'
+ //- :label="$t('common.latitude')" )
+ //- v-col(cols=12 md=3 v-if='settings.allow_geolocation')
+ //- v-text-field(ref='longitude' :value='value.longitude'
+ //- :prepend-icon='mdiLongitude'
+ //- :disabled='disableDetails'
+ //- :label="$t('common.longitude')")
diff --git a/components/admin/Places.vue b/components/admin/Places.vue
index 57a2d010..4fab04e9 100644
--- a/components/admin/Places.vue
+++ b/components/admin/Places.vue
@@ -25,6 +25,19 @@ v-container
v-model='place.address'
:placeholder='$t("common.address")')
+ v-text-field(v-if="settings.allow_geolocation"
+ :rules="[$validators.required('common.latitude')]"
+ :label="$t('common.latitude')"
+ v-model='place.latitude'
+ :placeholder='$t("common.latitude")')
+
+ v-text-field(v-if="settings.allow_geolocation"
+ :rules="[$validators.required('common.longitude')]"
+ :label="$t('common.longitude')"
+ v-model='place.longitude'
+ :placeholder='$t("common.longitude")')
+
+
v-card-actions
v-spacer
v-btn(@click='dialog = false' outlined color='warning') {{ $t('common.cancel') }}
@@ -47,6 +60,7 @@ v-container