This commit is contained in:
2020-03-23 22:28:32 +00:00
parent 0979171ed4
commit 50504db31d
2 changed files with 4 additions and 2 deletions

View File

@@ -74,11 +74,13 @@ export default {
//It has a prior non empty selection that needs to be fetched
//note that by default this will just fetch the selected record instead of the prefill list
console.log("STUB: created: has value, sb fetched");
var urlParams = "?ayaType=" + vm.ayaType + "&preId=" + vm.value;
vm.getList(urlParams);
} else if (vm.preFill) {
//no non-empty initial value to select but list specified to pre-fill
vm.searchUnderway = true;
vm.getList();
}
}
},
beforeUpdate() {
//Set the initial list items based on the record items, this only needs to be called once at init

View File

@@ -48,7 +48,7 @@ export default {
},
data() {
return {
selectedWidget: null,
selectedWidget: 2,
selectedUser: 1
};
},