-
Notifications
You must be signed in to change notification settings - Fork 102
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
Validation error style classes problem #621
Comments
The Bootstrap style looks better, too. I just wonder how to implement this without breaking backward compatibility. I'm sure many developers rely on the bf-* classes. |
@TheCoder4eu @zhedar @asterd Any thoughts on this? I'd love to collect your feedback before I start implementing something and breaking the applications of several thousand developers. |
@stephanrauh it depends on how they rely on the bf-* classes. |
@stephanrauh can we close this issue too? |
@stephanrauh can we close this issue? |
I'd like to keep this ticket open. I think we should support the Bootstrap approach, too. |
I've been hung up on the same problem, the |
OK, go ahead! For the sake of backward compatibility, please make the error classes configurable:
Thanks in advance! |
Copy that! Thanks! |
The Pull Request is ready for approval! |
I've merged the PR. Todos left:
|
The feature is still broken with:
|
@stephanrauh , did the commit 2ab0b09 fix also Slider and Slider2? |
It solved the bug partially. But it's good enough to close the issue. |
Sorry to bother you guys, but I'm pretty sure there's a problem with error style classes.
Here's the HTML from your showcase of a input text with failed validation:
The issue is that the
has-error
class should be added to theform-group
div
, not to thelabel
orinput
elements; source: http://getbootstrap.com/css/#forms-control-validationAlso, the
bf-error
class and its equivalents should be removed, or at least have no default css rules, because they override bs default styles.The text was updated successfully, but these errors were encountered: