CustomCheckbox

How to get the value of specialty_id and admission_year_id at the top of forum $groups = Group::query() ->where('specialty_id', $get('specialty_id')) ->where('admission_year_id', $get('admission_year_id')) ->get(); can i use here right now CheckboxList::make($group->name) ->label($group->name) ->options($group->students->pluck('username', 'id')) ->searchable() ->columnSpanFull() ->bulkToggleable() this part returns true to me but it needs to be an array.
1 Reply
YusifHajiyev
YusifHajiyevOP10mo ago
$groups = Group::all(); this works but $groups = Group::query() ->where('specialty_id', $get('specialty_id')) ->where('admission_year_id', $get('admission_year_id')) ->get(); it doesn't work, what's wrong?
Want results from more Discord servers?
Add your server