ttskch / select2-bootstrap4-theme

Select2 v4 theme for Bootstrap4
MIT License
434 stars 207 forks source link

No styling for validation? #10

Closed prionkor closed 5 years ago

prionkor commented 5 years ago

I have added required param and submitting empty value. while other fields shows error as expected the select field does not.

ttskch commented 5 years ago

@prionkor So sorry for my late response! 🙇And also I don't know how to reproduce the problem, so could you please show me some sample html code which reproduce the problem? Thanks.

keithsk commented 5 years ago

Hi ttskch, i also facing same problem as it could not show the border red for the select2 input when the input was validated as empty. I have reproduce the problem, please below

https://jsfiddle.net/keithsk/qLso9zwt/

Reference: https://getbootstrap.com/docs/4.0/components/forms/#validation

ttskch commented 5 years ago

@prionkor @keithsk This problem was fixed on v1.2.3. Thanks for your feedbacks!

keithsk commented 4 years ago

Thank you very much @ttskch