This commit is contained in:
James Cole 2019-08-27 06:45:35 +02:00
parent 4ff8b3b556
commit c41ae3a9bf
3 changed files with 10 additions and 12 deletions

2
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,7 @@
-->
<template>
<form method="POST" action="transactions/update" accept-charset="UTF-8" class="form-horizontal" id="store"
<form method="POST" action="#" accept-charset="UTF-8" class="form-horizontal" id="store"
enctype="multipart/form-data">
<input name="_token" type="hidden" value="xxx">
<div class="row" v-if="error_message !== ''">

View File

@ -79,16 +79,14 @@
}
},
selectedItem: function (e) {
console.log('selectedItem for descr()');
// if (typeof this.name === 'undefined') {
// return;
// }
// if(typeof this.name === 'string') {
// console.log('Is a string.');
// }
// // emit the fact that the user selected a type of account
// // (influencing the destination)
// this.$emit('select:account', this.name);
if (typeof this.name === 'undefined') {
return;
}
if (typeof this.name === 'string') {
return;
}
this.$refs.descr.value = this.name.description;
this.$emit('input', this.$refs.descr.value);
},
}
}