@props(['item' => new \App\Models\Item()])

{{ $alphabet[$alphabetIndex] }}. {{ $formSection->section_name }}

@foreach ($formSection->formSubSections->sortBy('order_index') ?? [] as $formSubSection)

{{ $formSubSection->section_name }}

@foreach ($formSubSection->formDetails->where('is_deprecated', false)->sortBy('order_index') as $formDetail) @includeIf('components.input.' . $formDetail->input_type, ['formDetail' => $formDetail, 'item' => $item]) @endforeach
@endforeach