In Livewire 3, the behavior of checkboxes has changed. Instead of posting the value property of the checkbox, it now posts a boolean value (true or false) based on whether the checkbox is checked or not.
To solve this issue, you can modify your Livewire component to handle the checkbox value correctly. You can use the wire:click directive to update the value of the checkbox when it is clicked.
Here's an example of how you can modify your code:
<input class="form-check-input" type="checkbox" wire:model="selectedPermissions.{{$loop->index}}.create" wire:click="$set('selectedPermissions.{{$loop->index}}.create', {{$perm->perm_create}})" />
In this example, we are using the wire:click directive to update the value of selectedPermissions.{{$loop->index}}.create when the checkbox is clicked. The value is set to {{$perm->perm_create}}, which should be the desired value of the checkbox.
Make sure to replace {{$loop->index}} and {{$perm->perm_create}} with the appropriate values from your code.
This should solve the issue and correctly post the value of the checkbox instead of a boolean.