This commit is contained in:
@@ -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
|
||||
|
||||
@@ -48,7 +48,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
selectedWidget: null,
|
||||
selectedWidget: 2,
|
||||
selectedUser: 1
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user