e.g. LIST_DISTRICT cascades from LIST_DIVISION. Tag each option below with its parent's value.
If this list cascades from another, fill in the "Parent value" column with the exact matching option text from the parent list (e.g. district "Khulna" → parent value "Khulna" division).
@php($opts = old('options', $list->options->pluck('value')->toArray() ?: ['']))
@php($parentVals = old('parent_values', $list->options->pluck('parent_value')->toArray() ?: ['']))
@foreach($opts as $idx => $opt)
@endforeach
Cancel