@props([ 'name', 'label', 'type' => 'text', 'required' => false, 'value' => null, 'hint' => null, 'options' => null, 'blank' => null, 'dir' => null, 'rows' => null, 'min' => null, 'max' => null, ]) @php($error = $errors->first($name))
@if ($options !== null) @elseif ($rows) @else @endif @if ($hint && ! $error)
{{ $hint }}
@endif @if ($error)@endif