| 123456789101112 |
- @foreach($selects as $select)
- <option value="{{ $select['id'] }}"
- @if((isset($selectPid) && $selectPid == $select['id']) || (old('parent_id') == $select['id'])) selected @endif>
- @for($i = 1; $i < $select['tier']; $i++)
-
- @endfor
- {{ $select['title'] }}
- </option>
- @if(isset($select['child']) && count($select['child']) > 0)
- @include('admin::component.multi_select_option', ['selects' => $select['child']])
- @endif
- @endforeach
|