fix scroll into view input with error while adding event
This commit is contained in:
@@ -175,7 +175,7 @@ export default {
|
|||||||
if (!this.$refs.form.validate()) {
|
if (!this.$refs.form.validate()) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const el = document.querySelector('.v-input.error--text:first-of-type')
|
const el = document.querySelector('.v-input.error--text:first-of-type')
|
||||||
el.scrollIntoView()
|
el.scrollIntoView(false)
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export default {
|
|||||||
if (this.filters.show_recurrent) {
|
if (this.filters.show_recurrent) {
|
||||||
return this.events
|
return this.events
|
||||||
}
|
}
|
||||||
events = events.filter(e => !e.parentId)
|
return events.filter(e => !e.parentId)
|
||||||
}
|
}
|
||||||
|
|
||||||
return events.filter(e => {
|
return events.filter(e => {
|
||||||
|
|||||||
Reference in New Issue
Block a user