Skip to content
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

Not required Select menu tag have a red borde #206

Open
malarap opened this issue Jul 5, 2017 · 1 comment
Open

Not required Select menu tag have a red borde #206

malarap opened this issue Jul 5, 2017 · 1 comment

Comments

@malarap
Copy link

malarap commented Jul 5, 2017

Hi I'm running jQuery 1.7.2 and bootstrap v3.0 and this plugin It works perfect when submit but this plugin have a red border in select menus that does not have the tag hmtl5 "required"
any idea?

@knoufal
Copy link

knoufal commented Aug 14, 2017

I am having the same issue, on validation class "error" is added to form tag which is causing this. you can change CSS from ".error ----" to "div.error ---" this way the red border will show if parent DIV has error. I am still looking for a clean way to prevent validation from adding "error" class to form tag.

div.has-error .bootstrap-select .dropdown-toggle, 
div.error .bootstrap-select .dropdown-toggle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants