|
|
|
|
@ -9,7 +9,10 @@
|
|
|
|
|
methods: {
|
|
|
|
|
submit(event){
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
console.log('hi');
|
|
|
|
|
console.log(this.description);
|
|
|
|
|
console.log(this.seconds);
|
|
|
|
|
console.log(this.comments);
|
|
|
|
|
console.log(this.practice_category_id);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
@ -25,16 +28,16 @@
|
|
|
|
|
<summary><h2>Timer</h2></summary>
|
|
|
|
|
<form @submit="submit">
|
|
|
|
|
<label>Description</label>
|
|
|
|
|
<input type="text"/>
|
|
|
|
|
<input v-model="description" type="text"/>
|
|
|
|
|
|
|
|
|
|
<label>Seconds</label>
|
|
|
|
|
<input type="number"/>
|
|
|
|
|
<input v-model="seconds" type="number"/>
|
|
|
|
|
|
|
|
|
|
<label>Comments</label>
|
|
|
|
|
<textarea/>
|
|
|
|
|
<textarea v-model="comments"/>
|
|
|
|
|
|
|
|
|
|
<label>Practice Category</label>
|
|
|
|
|
<select>
|
|
|
|
|
<select v-model="practice_category_id">
|
|
|
|
|
<option v-for="category in categories" v-bind:value="category.id">
|
|
|
|
|
{{category.id}}.
|
|
|
|
|
{{category.instrument}}
|
|
|
|
|
|