Skip to content

Commit 90f99f3

Browse files
committed
feat(forms): angular validation classes
1 parent e7e179c commit 90f99f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scss/mixins/_forms.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
@mixin form-validation-state-selector($state) {
66
@if ($state == "valid" or $state == "invalid") {
77
.was-validated #{if(&, "&", "")}:#{$state},
8-
#{if(&, "&", "")}.is-#{$state} {
8+
#{if(&, "&", "")}.is-#{$state}, #{if(&, "&", "")}.ng-#{$state} {
99
@content;
1010
}
1111
} @else {
12-
#{if(&, "&", "")}.is-#{$state} {
12+
#{if(&, "&", "")}.is-#{$state}, #{if(&, "&", "")}.ng-#{$state} {
1313
@content;
1414
}
1515
}

0 commit comments

Comments
 (0)