Agreed. I will pursue this with the select-bootstrap author.
As fast as AngularJS is concerned this is what I have decided to use.
<select ng-model="item" data-style="btn-inverse"
class="selectpicker" ng-style="valid && {'border': '1px solid red'}"
ng-options="item.code as item.name for item in items">
<option value="">Select Service</option>
</select>
Thanks.
On Wednesday, 25 February 2015 16:36:13 UTC+5:30, Sander Elias wrote:
>
> You added conflicting style's
> ng-invalid and ng-valid should never be at the same element at the same
> time. And as with all styling, css rules may conflict, and give unexpected
> results. That has nothing to do with angular.
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.