@php $selected_value = (isset($value) && !is_null($value) ? $value :(isset($default) && !is_null($default) ? $default : '')); $name = ''; if( !empty($repeater_id) ){ if( !empty($parent_rep) ){ $name = "$parent_rep".'['.$repeater_id.']['.$index.']['.$id.']'; }else{ $name = "$repeater_id".'['.$index.']['.$id.']'; } }else{ $name = $id; } @endphp @if( !empty($repeater_type) && $repeater_type == 'single' ) @if( !empty($options) && is_array($options) ) @foreach($options as $key=> $single) @php $label_id = time().'_'.rand(1,99999); @endphp
@endforeach @endif @else
  • @if( !empty($label_title) )
    {!! $label_title !!} @if( empty($repeater_id) && config('optionbuilder.developer_mode') == 'yes' ) setting(‘{{ $tab_key }}.{{$id}}’) @endif
    @if( !empty( $label_desc) ) {!! $label_desc !!} @endif
    @endif @if( !empty($options) && is_array($options) )
    @foreach($options as $key=> $single) @php $label_id = time().'_'.rand(1,99999); @endphp
    @endforeach @if( !empty($field_desc) ){!! $field_desc !!} @endif
    @endif
  • @endif