This commit is contained in:
@@ -74,11 +74,13 @@ export default {
|
|||||||
//It has a prior non empty selection that needs to be fetched
|
//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
|
//note that by default this will just fetch the selected record instead of the prefill list
|
||||||
console.log("STUB: created: has value, sb fetched");
|
console.log("STUB: created: has value, sb fetched");
|
||||||
|
var urlParams = "?ayaType=" + vm.ayaType + "&preId=" + vm.value;
|
||||||
|
vm.getList(urlParams);
|
||||||
} else if (vm.preFill) {
|
} else if (vm.preFill) {
|
||||||
//no non-empty initial value to select but list specified to pre-fill
|
//no non-empty initial value to select but list specified to pre-fill
|
||||||
vm.searchUnderway = true;
|
vm.searchUnderway = true;
|
||||||
vm.getList();
|
vm.getList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUpdate() {
|
beforeUpdate() {
|
||||||
//Set the initial list items based on the record items, this only needs to be called once at init
|
//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() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectedWidget: null,
|
selectedWidget: 2,
|
||||||
selectedUser: 1
|
selectedUser: 1
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user