@php $without_label = false; if (Ui::keyset($attributes, 'without_label') != null) { $without_label = $attributes['without_label']; } if (Ui::keyset($attributes, 'layout') == null || (Ui::keyset($attributes, 'layout') != null && $attributes['layout'] == 'h')) { $horizental = true; $row = ' row'; $labelClass = 'col-2 col-form-label'; } else { $horizental = false; $row = ''; $labelClass = 'col-form-label'; } $list = []; if (isset($value) && $value != '') { $values_arr = explode(',', $value); $values_arr_size = sizeof($values_arr); } $sections = \App\Models\Section::all(); if (isset($attributes['required']) && $attributes['required'] === true) { $labelClass .= ' required'; } @endphp
Please select sections would you want to display