Browse Source

Merge pull request #20177 from netbox-community/18916-TomSelect-invalid-styling

Fixes #18916: Fix styling of dynamic dropdowns with invalid selection
bctiemann 5 months ago
parent
commit
1c1073e160

File diff suppressed because it is too large
+ 0 - 0
netbox/project-static/dist/netbox.css


+ 6 - 0
netbox/project-static/styles/overrides/_tomselect.scss

@@ -6,3 +6,9 @@
     }
     }
   }
   }
 }
 }
+
+// Replicate styling of tom-selected <select> fields tagged with .is-invalid to
+// their corresponding TomSelect dropdowns
+select.tomselected.is-invalid + div.ts-wrapper {
+  @extend .is-invalid;
+}

Some files were not shown because too many files changed in this diff