@if($field->debug ?? false)
{{ print_r($field, true) }}@endif {{-- Include the actual field here --}} @php $nospan = $field->nospan ?? false; $container = $nospan ? 'div' : 'span'; @endphp <{{ $container }} :class="{'has-error': form.errors.has('{{ $field->key }}')}"> {{-- @if($field->label)--}} {{-- --}} {{-- @endif--}} @include('fields.'.($field->type ?? 'text')) {{-- --}} {{-- @{{ form.errors.get('op_fname') }}--}} {{-- --}} {{ $container }}>