Problems displaying Checkboxes Validation Error
Hi,
I'm using bootstrap-form with Laravel 5.2 and i got problems displaying Validation Errors on checkboxes (other input Types work fine).
Is there something special i have to do to, to get the error-displaying working?
I'm using this in my View: {!! BootForm::checkbox('privacy_checked', 'I Read it') !!}
and this in my validation-array: 'privacy_checked' => 'required',
Although the Form cant be submitted without checking the Checkbox, it does not display the Error-Message under the Checkbox.
And i can find the corresponding Errormessage in the $error-Array, so i don't get where the problem is.
Thanks in Advance!
Hey, looks like the errors are only included when using the checkboxes method, not the standalone checkbox method. I'm not sure if this was intended or an omission. I've changed it on dev-master so see if that works for you.
Hi,
with the new dev-master it displays the error, but the bootstrap "has-error"-class is missing.

Thanks for your help!