{{-- --}}
@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], @$activeFile->field_map[$header],
[
'class' => 'mappings livewire-select2',
'data-livewire-model' => 'field_map.'.$index, // start of a 'universal' way to do this?
'placeholder' => 'Do Not Import'
])
}}
{{ $activeFile->first_row[$index] }}
@endforeach
@else
No Columns Found!
@endif
{{-- --}}