quick add shoppinglist

This commit is contained in:
smilerz
2022-01-04 17:44:29 -06:00
parent 29aa52aa3d
commit b919fb4ae8
5 changed files with 62 additions and 12 deletions

View File

@@ -62,12 +62,16 @@ export default {
multiple: { type: Boolean, default: true },
allow_create: { type: Boolean, default: false },
create_placeholder: { type: String, default: "You Forgot to Add a Tag Placeholder" },
clear: { type: Number },
},
watch: {
initial_selection: function (newVal, oldVal) {
// watch it
this.selected_objects = newVal
},
clear: function (newVal, oldVal) {
this.selected_objects = []
},
},
mounted() {
this.search("")