@php $selected_value = !empty($value) ? $value : []; $name = ''; $tab_key_id = $id; if( !empty($repeater_id) ){ if( !empty($parent_rep) ){ $name = "$parent_rep".'['.$repeater_id.']['.$index.']['.$id.']'.(!empty($options) && !empty($multi) && $multi ? '[]' :''); }else{ $name = "$repeater_id".'['.$index.']['.$id.']'.(!empty($options) && !empty($multi) && $multi ? '[]' :''); } }else{ if( !empty($options) && is_array($options) && !empty($multi) && $multi ){ $id = !empty($id) ? $id.'[]' : ''; } $name = $id; } @endphp @if( !empty($repeater_type) && $repeater_type == 'single' ) @if( !empty($options) && is_array($options) )
@endif @else
  • @if( !empty($label_title) )
    {!! $label_title !!} @if( empty($repeater_id) && config('optionbuilder.developer_mode') == 'yes' ) setting(‘{{ $tab_key }}.{{$tab_key_id}}’) @endif
    @if( !empty( $label_desc) ) {!! $label_desc !!} @endif
    @endif
    @if( !empty($options) && is_array($options) )
    @endif @if( !empty($field_desc) ){!! $field_desc !!} @endif
  • @endif