comment and misc cleanup nothing substantial
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
{{ value }}
|
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-bind:value="value"
|
v-bind:value="value"
|
||||||
v-on:input="selectionMade($event)"
|
v-on:input="selectionMade($event)"
|
||||||
@@ -78,26 +77,6 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
value(val) {
|
value(val) {
|
||||||
this.fetchValueIfNotPresent();
|
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) {
|
searchEntry(val, oldVal) {
|
||||||
var vm = this;
|
var vm = this;
|
||||||
|
|||||||
@@ -152,7 +152,6 @@
|
|||||||
:error-messages="form().serverErrors(this, 'userid')"
|
:error-messages="form().serverErrors(this, 'userid')"
|
||||||
@change="onChange('userid')"
|
@change="onChange('userid')"
|
||||||
></gz-pick-list>
|
></gz-pick-list>
|
||||||
{{ obj.userId }}
|
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col
|
<v-col
|
||||||
|
|||||||
Reference in New Issue
Block a user