{{ Form::select('activeFile.import_type', $importTypes, $activeFile->import_type, ['id' => 'import_type', 'class' => 'livewire-select2', 'placeholder' => '', 'data-livewire-component' => $_instance->id]) }}
@if($statusText)
{{ $statusText }}
@endif

Header Field

Import Field

Sample Value

@if($activeFile->header_row) @foreach($activeFile->header_row AS $index => $header)
{{-- this, along with the JS glue below, is quite possibly near to the new Universal LW2 stuff? --}} {{ Form::select('field_map.'.$index, $columnOptions[$activeFile->import_type], @$field_map[$index], [ 'class' => 'mappings livewire-select2', 'placeholder' => 'Do Not Import', 'data-livewire-component' => $_instance->id ]) }}

{{ $activeFile->first_row[$index] }}

@endforeach @else No Columns Found! @endif


@if($statusText)
{{ $statusText }}
@endif