@props(['name'])
<textarea name="{{ $name }}" :class="errors.{{ $name }} && 'is-invalid'" class="form-control" {{ $attributes }}>
</textarea>

<template x-for="error in errors.{{ $name }}">
    <div class="invalid-feedback" x-text="error"></div>
</template>