Initial support for adding items to, executing customer order batch

This commit is contained in:
Lance Edgar 2021-01-26 20:10:05 -06:00
parent 475ab3013f
commit 480d878db8
6 changed files with 701 additions and 37 deletions

View file

@ -8,6 +8,8 @@ const TailboneAutocomplete = {
serviceUrl: String,
value: String,
initialLabel: String,
assignedValue: String,
assignedLabel: String,
},
data() {
@ -43,7 +45,7 @@ const TailboneAutocomplete = {
this.value = null
if (focus) {
this.$nextTick(function() {
this.$refs.autocomplete.focus()
this.focus()
})
}
@ -51,6 +53,10 @@ const TailboneAutocomplete = {
// $('#' + oid + '-textbox').trigger('autocompletevaluecleared');
},
focus() {
this.$refs.autocomplete.focus()
},
getDisplayText() {
if (this.selected) {
return this.selected.label