new search and setting

This commit is contained in:
vabene1111
2021-04-18 11:03:15 +02:00
parent f78f7dfc14
commit 99004ad34b
9 changed files with 73 additions and 32 deletions

View File

@ -36,6 +36,15 @@ export default {
search_function: String,
label: String,
parent_variable: String,
initial_selection: Array,
},
watch: {
initial_selection: function (newVal, oldVal) { // watch it
this.selected_objects = newVal
}
},
mounted() {
this.search('')
},
methods: {
search: function (query) {