0
我有一个select2
选择菜单。Bootstrap select2错误样式
剥离版本,例如:
<div class="form-group has-error">
<select name="description_id" class="select2">
// <options>
</div>
运用has-error
到文本输入将显示围绕输入一个红色边框。这对于select2菜单不起作用。我错过了什么?
我使用bootstrap3和最新选择2:
我读过这个页面,并试图解决方案,但它不工作:
https://xcellerant.net/2013/12/05/adding-bootstrap-error-styling-to-a-select2/
就是这样,非常感谢,可以在12小时内奖励赏金:-) – Hardist