1
0

Fix multiselect on mobile

This commit is contained in:
kolaente
2021-01-18 21:33:21 +01:00
parent 427a702bd4
commit a0664ecb29
2 changed files with 10 additions and 0 deletions

View File

@ -205,6 +205,11 @@ export default {
methods: {
// Searching will be triggered with a 200ms delay to avoid searching on every keyup event.
search() {
// Updating the query with a binding does not work on mobile for some reason,
// getting the value manual does.
this.query = this.$refs.searchInput.value
if (this.searchTimeout !== null) {
clearTimeout(this.searchTimeout)
this.searchTimeout = null