comment and misc cleanup nothing substantial

This commit is contained in:
2020-03-26 22:24:21 +00:00
parent 17d787b2a8
commit 5c4d762bc0
2 changed files with 0 additions and 22 deletions

View File

@@ -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;

View File

@@ -152,7 +152,6 @@
:error-messages="form().serverErrors(this, 'userid')"
@change="onChange('userid')"
></gz-pick-list>
{{ obj.userId }}
</v-col>
<v-col