With the first half of the conditional statement, the checkbox is checked, and from the rendered html code, it is correctly set with the checked value on page load.
But, the iCheck checkbox remains empty and unchecked. I can still use it, so I know it is working correctly, but I guess I'm unsure how to get it to load as checked.
On a blade in my Laravel project I have the following:
With the first half of the conditional statement, the checkbox is checked, and from the rendered html code, it is correctly set with the checked value on page load.
But, the iCheck checkbox remains empty and unchecked. I can still use it, so I know it is working correctly, but I guess I'm unsure how to get it to load as checked.
Thanks