-
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
Multiple form elements in a form group #22
Comments
Ended up changing html code to this which works without modifying the script:
|
jantimon
added a commit
to jantimon/angular-bootstrap-show-errors
that referenced
this issue
Feb 13, 2015
jantimon
added a commit
to jantimon/angular-bootstrap-show-errors
that referenced
this issue
Feb 13, 2015
I was having issue with positioning and validation and used your approach @seannewby thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am new to both Angular and Bootstrap, so take this with a grain of salt.
I have a requirement to have multiple form elements in a form group in a horizontal form.
Coding it like this (which I believe to be correct) if one item in the row becomes invalid, the errors are shown on all items in the form group. As a work around I have created my own class, dh-sub-form-group, and applied it to a span that wraps the form elements:
and then modified the show-errors javascript code to look for a different class:
and modified the css
Is there a better way to do this or maybe this could be a future enhancement to support multiple form elements per group.
thanks
The text was updated successfully, but these errors were encountered: