• @if( !empty($label_title) )
    {!! $label_title !!} @if( config('optionbuilder.developer_mode') == 'yes' ) setting(‘{{ $tab_key }}.{{$id}}’) @endif
    @if( !empty( $label_desc) ) {!! $label_desc !!} @endif
    @endif
    @if( !empty($value) && is_array($value) ) @php $title_index = 1; @endphp @foreach($value as $index=> $single ) @php $mapping_fields = !empty($fields) && is_array($fields) ? $fields : []; @endphp
    @if(!isset($edit) || !empty($edit)) @endif
    @if( !empty($mapping_fields) && is_array($mapping_fields) ) @php foreach($single as $key=> $item){ $field_index = array_search($key, array_column($mapping_fields, 'id')); if( $field_index !== false ){ $mapping_fields[$field_index]['value'] = $item; } } @endphp {!! getSectionSetting(['tab_key' => $tab_key, 'index' => $index, 'repeater_id' => ($id ?? '') ], $mapping_fields) !!} @endif
    @endforeach @else
    @if(!isset($edit) || !empty($edit)) @endif
    @if( !empty($fields) && is_array($fields) ) {!! getSectionSetting(['tab_key' => $tab_key, 'index' => rand(1,999).time(), 'repeater_id' => ($id ?? '') ], $fields) !!} @endif
    @endif
    @if(!isset($edit) || !empty($edit)) @endif