Open
Description
First, thank you very much for this great directive!
I try to use this with ui-select (https://github.com/angular-ui/ui-select). But I think there are conflicts and I'm not shure how to get it work. Also I'm not sure, if it's fixable in show-errors (maybe it must be "fixed" in ui-select?).
With this plunker (http://plnkr.co/edit/PRsXlYuJfrP46FhC5O0s?p=preview) you can reproduce the following:
- Load the plunker + click on Add (don't input any data) -> it works like expected.
- Choose an item and fill in a number in the input -> while the error border on the normal input disappears (after validation), the error border on the select persists.
- Now click on Add (JavaScript function clears the data and broadcasts
show-errors-reset
) -> there is still an error indicator on the select (please notice: this is a different one of ui-select -> conflict?)
Do you know a way to fix this? I already tried to "override" the ui-select style. Look at this hack:
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
border-color: #CCC !important;
}
Obviously show-error isn't able to set the border-color, anymore.
Any help would be appreciated!
Metadata
Metadata
Assignees
Labels
No labels