blob: d96921a53dc5b60a0d4be811db362913a26de149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<template>
<div class="form-group">
<label class="col-lg-3 control-label">{{ name }}</label>
<div class="col-lg-7">
<input type="text" class="form-control" v-bind:value="value" v-on:input="$emit('input', $event.target.value)">
</div>
</div>
</template>
<script>
export default {
props: ['name', 'value'],
data: function() {
return {
inputName: this.name,
inputValue: this.value,
fake: "abc"
}
}
}
</script>
|