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
Add class to the .control-group div for twitter bootstrap #11
Comments
Hi, Parsley is currently totally agnostic of twitter bootstrap or other templating framework. All error-related stuff is totally overridable on config. For example, your could here https://github.com/guillaumepotier/Parsley.js/blob/master/parsley.js#L885 use a custom I'll add code explanations on how to do that in the documentation |
Awesome. I've been looking for a nice validator that is more modern than some of the older jquery versions out there. |
I reopen this issue until I've put this in doc. Helps me not to forgot to do it ;) |
If you want to play around with it http://jsfiddle.net/pmeissner/WdMu8/ |
Ok. I made a first step in doc. Will follow up in the week, and maybe think about "classical" bootstrap integrations (tooltips, .control-group..) |
@guillaumepotier Just curious, what changes did you make? |
Not much though: b58c344#diff-3 Should continue and add typical customization uses-cases, with default twitter tooltip / popover for example + tests in test suite ;) |
I just added the following to make it work with nice with bootstrap. listeners: { |
Kenny I am doing something, however my code looks like: listeners: { |
Well that was alot cleaner :) |
I'll just throw this out there. It would be nice if the error class could be added to the .control-group containing div to use twitter bootstraps classes. Or an example of how to implement it.
The text was updated successfully, but these errors were encountered: