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> <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"> enctype="multipart/form-data">
<input name="_token" type="hidden" value="xxx"> <input name="_token" type="hidden" value="xxx">
<div class="row" v-if="error_message !== ''"> <div class="row" v-if="error_message !== ''">

View File

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