added custom attributes for required

This commit is contained in:
Burak Civan
2022-06-30 15:36:12 +03:00
parent a22137556b
commit e288892d1d
10 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
v-if="{{ $attributes['show'] }}"
@endif
>
<x-form.label for="{{ $name }}" class="form-control-label">{!! $label !!}</x-form.label>
<x-form.label for="{{ $name }}" {{ $attributes->merge($custom_attributes) }}>{!! $label !!}</x-form.label>
<div class="flex items-center mt-1">
@if (empty($attributes['disabled']))