You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@caseyjhol commented on Mar 20, 2018, 9:13 PM UTC:
This seems to be working as expected to me. If an option isn't selected, the select is invalid. If an option is selected, the select is valid. Can you elaborate a bit on the problem?
You're right, I miss some important detail in explaination.
It works fine without add dinamically any option.
But if you click on "add option" link (that append one more option), the validation stop to works correctly, and despite any option selected it mark as valid (green border)
@caseyjhol commented on Mar 20, 2018, 10:57 PM UTC:
I see the issue. Even though the value of the placeholder option is empty, Firefox is falling back to the option's text for the value, so it "thinks" a value is actually set for the select. I don't see why the text of the placeholder option even needs to be set, so it should be an easy fix.
@peppem80 commented on Mar 20, 2018, 4:28 PM UTC:
Hi,
Thank you for sharing bootstrap-select with the community.
I'm using the 1.13.0-beta version with bootstrap 4 and its validation.
https://jsfiddle.net/2cLc359h/28/
It works fine, but when new appended on select then it recognizes the select as valid also if any value is selected
This issue was moved by caseyjhol from snapappointments/bootstrap-select-temp#26.
The text was updated successfully, but these errors were encountered: