comment and misc cleanup nothing substantial
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
{{ value }}
|
||||
<v-autocomplete
|
||||
v-bind:value="value"
|
||||
v-on:input="selectionMade($event)"
|
||||
@@ -78,26 +77,6 @@ export default {
|
||||
watch: {
|
||||
value(val) {
|
||||
this.fetchValueIfNotPresent();
|
||||
// //is there a value that might require fetching?
|
||||
// if (val == null || val == 0) {
|
||||
// return;
|
||||
// }
|
||||
// var vm = this;
|
||||
// //check if it's in the list of items we have here
|
||||
// for (var i = 0; i < vm.searchResults.length; i++) {
|
||||
// if (vm.searchResults[i].id == val) {
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
|
||||
// //Not here, better get it
|
||||
// var urlParams = "?ayaType=" + vm.ayaType + "&preId=" + vm.value;
|
||||
// console.log("WATCH:Value not present, calling getlist with ", urlParams);
|
||||
// vm.getList(urlParams);
|
||||
|
||||
//todo: here is where we need to trigger the INIT single fetch because it's not being set otherwise as there is a delay on form fetching
|
||||
// console.log("WATCH:Value changed and it's not in the list FETCH?:", val);
|
||||
// setValue(this.$refs.textField.$refs.input, value);
|
||||
},
|
||||
searchEntry(val, oldVal) {
|
||||
var vm = this;
|
||||
|
||||
Reference in New Issue
Block a user