laravel-form-components
laravel-form-components copied to clipboard
Checkbox Shows which are checked and then disappears
Checked Box For Loop Code
`
Please Check the below Attachment for the clear look on issue
Thanks in Advance..
@pascalbaljet @DionPotkamp
Please Reply How can I Fix it
I think you are missing some code, I see a few empty lines.
And what is the problem? You ask for checkboxes automatically checked, and that is what i see in de gif.
@foreach ($permissions as $key => $value) <x-form-checkbox name="permissions.{{ $key }}" label="{{ $value }}" value="{{ $key }}" :checked="in_array($key, $checked)" /> @endforeach
This is the loop I am Using, How Can I fix it...