Skip to content

Commit dcabe23

Browse files
committed
fix(select2): apply validation border color
Added `select2` form validation border colors to align with Bootstrap 5 `is-valid` and `is-invalid` classes.
1 parent 7c2c5a8 commit dcabe23

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

css/admin.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3076,6 +3076,14 @@ table td>input[type="checkbox"] {
30763076
line-height: 2rem !important;
30773077
}
30783078

3079+
select.is-valid + .select2-container .select2-selection {
3080+
border-color: var(--bs-success) !important;
3081+
}
3082+
3083+
select.is-invalid + .select2-container .select2-selection {
3084+
border-color: var(--bs-danger) !important;
3085+
}
3086+
30793087
.no-select,
30803088
.nav,
30813089
.navbar,

css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.7
1+
1.5.8

0 commit comments

Comments
 (0)