-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README.md is outdated #45
Comments
+1. Facing the same issue. |
+1 here, anyone found a workaround for the checkboxes problem? |
Current workaround: Manually add the <form name="myFormName">
<div class="form-group">
<div class="checkbox" ng-class="{'has-error': myFormName.myCheckboxName.$invalid}">
<label>
<input type="checkbox" name="myCheckboxName"/>>
<span>My checkbox label</span>
</label>
</div>
</div>
</form> |
Up: link is dead:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current README file does not mention using a
form-control
class on the target field, but when not used, script throws error:show-errors element has no child input elements with a 'name' attribute and a 'form-control' class <div class="form-group" show-errors="">
.Using
.form-control
class on a checkbox, ie. requiring a user to check that they agree with your terms and conditions, it's invalid bootstrap code for a checkbox. So the result is the checkbox has style applied to it that makes it look really messed up (appears gigantic and with a shadow border). Therefore,angular-bootstrap-show-errors
should not rely on aform-control
class being present.Checkbox without
.form-control
class:The text was updated successfully, but these errors were encountered: