@foreach ($permissionLists as $key => $permission) {{-- @dd($permissionLists); --}}
{{--

--}}

{{-- --}}
{{-- {{ Str::ucfirst($key) }}

--}}
Permissions
@foreach ($permission as $index => $item)
{{-- {{ html()->checkbox('permissions[]')->id('permission_' . $index)->value($index)->class('form-check-input child-checkbox')->checked($editable && in_array($index, $permissionIDsArray)) }} --}} {{ html()->label(Str::ucfirst($item))->for('permission_' . $index)->class('form-check-label ms-2') }}
@endforeach
@endforeach
@push('js') @endpush