Add Id attribute to vue components

This commit is contained in:
Bubka
2022-06-24 09:10:49 +02:00
parent abb4666361
commit 90d4532883
9 changed files with 49062 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<template>
<p class="help is-danger" v-if="form.errors.has(field)" v-html="form.errors.get(field)" />
<p :id="'valError' + field[0].toUpperCase() + field.toLowerCase().slice(1)" class="help is-danger" v-if="form.errors.has(field)" v-html="form.errors.get(field)" />
</template>
<script>