Ver Fonte

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

Fixes #18916: Fix styling of dynamic dropdowns with invalid selection
bctiemann há 5 meses atrás
pai
commit
1c1073e160

Diff do ficheiro suprimidas por serem muito extensas
+ 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;
+}

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff