@props(['controlName' => ''])

@if (! empty($controlName))
    <v-error-message
        name="{{ $controlName }}"
        {{ $attributes }}
        v-slot="{ message }"
    >
        <p {{ $attributes->merge(['class' => 'mt-1 text-red-600 text-xs italic']) }}>
            @{{ message }}
        </p>
    </v-error-message>
@endif
