Batch updating and deleting, multi-select

This commit is contained in:
Mark Cooper committed 2021-08-26 18:32:05 -05:00
1 parent 8c9fb0d45e
commit 88c7c1632e
13 files changed
+358 -33

No files matched your search

+10 -2
View File
@@ -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) {