Skip to content

Commit 1c1073e

Browse files
authored
Merge pull request #20177 from netbox-community/18916-TomSelect-invalid-styling
Fixes #18916: Fix styling of dynamic dropdowns with invalid selection
2 parents 0870ec6 + 81579b6 commit 1c1073e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

netbox/project-static/dist/netbox.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.

netbox/project-static/styles/overrides/_tomselect.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
}
77
}
88
}
9+
10+
// Replicate styling of tom-selected <select> fields tagged with .is-invalid to
11+
// their corresponding TomSelect dropdowns
12+
select.tomselected.is-invalid + div.ts-wrapper {
13+
@extend .is-invalid;
14+
}

0 commit comments

Comments
 (0)