Jakobovski / angular-validator

Powerful, flexible and simple Angular validation!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On-blur not working inside UI Modal (angular Bootstrap)

lewis-almeyda opened this issue · comments

on-dirty works but not on-blur.

any ideas?

I'm also experiencing issues with this.
It appears that the custom validation message displays correctly onBlur.
However as you're typing the 'ng-invalid'
class still gets added. Which means if you have some css such as

input.ng-dirty.ng-invalid {
    border: #FA787E solid 1px;
}

defined. you will see an error around the box