Added new generic field components

This commit is contained in:
Joel Collins 2019-06-26 14:40:07 +01:00
parent 05d71344a0
commit 463bec6e18
11 changed files with 159 additions and 71 deletions

View file

@ -1,30 +0,0 @@
<template>
<div>
<label class="uk-form-label">{{label}}</label>
<input
class="uk-input uk-form-small"
type="text"
v-bind:name="name"
v-bind:value="value"
v-bind:placeholder="placeholder"
@input="$emit('input',$event.target.value)"
>
</div>
</template>
<script>
export default {
name: 'textInput',
props: [
'placeholder',
'label',
'name',
'value'
]
}
</script>
<style scoped></style>