Skip to content

Commit

Permalink
Make lite validation also work properly for form select
Browse files Browse the repository at this point in the history
Like validation was only work for form fields with the `.form-control` class. Selects
use the `.form-select` class. This change also applies lite validation for the selects.
  • Loading branch information
rjd22 committed Jan 18, 2021
1 parent 31007d3 commit f0864a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scss/ui/forms/_validation.scss
Expand Up @@ -6,4 +6,8 @@
.form-control.is-#{$state}-lite {
@extend %validation-lite;
}
}

.form-select.is-#{$state}-lite {
@extend %validation-lite;
}
}

0 comments on commit f0864a5

Please sign in to comment.