@props([ 'name', 'label' => null, 'value' => null, 'required' => false, 'rows' => 3, 'help' => null, 'id' => null, ]) @php $id ??= 'f-'.str_replace('.', '-', $name); $htmlName = preg_replace('/\.([^.]+)/', '[$1]', $name); @endphp
@if ($label) @endif @error($name)
{{ $message }}
@enderror @if ($help){{ $help }}@endif