- {{--
-
- --}}
-{{-- --}}
- {{ Form::select('field_map.'.$index, $columnOptions[$activeFile->import_type], @$activeFile->field_map[$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',
- 'wire:model' => 'field_map.'.$index, // I think it just can't read this :/
- 'data-livewire-mapping' => $header, // do we still need this?
'data-livewire-model' => 'field_map.'.$index, // start of a 'universal' way to do this?
'placeholder' => 'Do Not Import'
- ])
+ ])
- }}
- {{-- /* 'wire:model' => 'activeFile.field_map.'.$header, doesn't work */
- /*'class' => 'livewire-select2 mappings', */' --}}
-{{-- --}}
+ }}