mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 17:59:06 +02:00
Batch updating and deleting, multi-select
This commit is contained in:
parent
8c9fb0d45e
commit
88c7c1632e
13 changed files with 358 additions and 33 deletions
|
@ -91,12 +91,20 @@ export default {
|
|||
}
|
||||
this.isFocused = false
|
||||
if (this.input !== this.textInput) {
|
||||
this.input = this.$cleanString(this.textInput) || null
|
||||
var val = this.$cleanString(this.textInput) || null
|
||||
this.input = val
|
||||
if (val && !this.items.includes(val)) {
|
||||
this.$emit('newItem', val)
|
||||
}
|
||||
}
|
||||
}, 50)
|
||||
},
|
||||
submitForm() {
|
||||
this.input = this.$cleanString(this.textInput) || null
|
||||
var val = this.$cleanString(this.textInput) || null
|
||||
this.input = val
|
||||
if (val && !this.items.includes(val)) {
|
||||
this.$emit('newItem', val)
|
||||
}
|
||||
this.currentSearch = null
|
||||
},
|
||||
clickedOption(e, item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue