mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 13:14:23 +01:00
21 lines
362 B
Vue
21 lines
362 B
Vue
|
<template>
|
||
|
<p class="help is-danger" v-if="form.errors.has(field)" v-html="form.errors.get(field)" />
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'field-error',
|
||
|
|
||
|
props: {
|
||
|
form: {
|
||
|
type: Object,
|
||
|
required: true
|
||
|
},
|
||
|
|
||
|
field: {
|
||
|
type: String,
|
||
|
required: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|