Using refs in laravel blade to pre-check checkboxes
If I understand your question correctly, you want to check checkboxes based on a condition. Here's an example took from my own code:
<input {{ $something->isAwesome ?: "checked" }} type="checkbox" >
In this example, we check if $something is awesome, and if it is we print the string "checked", making the checkbox checked. If this is not what you wanted to accomplish tell me and i will update answer.