Przeglądaj źródła

#14917: Nullify maxOptions for static select fields

Jeremy Stretch 2 lat temu
rodzic
commit
7e7e5d5eb0

Plik diff jest za duży
+ 0 - 0
netbox/project-static/dist/netbox.js


Plik diff jest za duży
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 2 - 0
netbox/project-static/src/select/static.ts

@@ -11,6 +11,7 @@ export function initStaticSelects(): void {
   )) {
     new TomSelect(select, {
       ...config,
+      maxOptions: undefined,
     });
   }
 }
@@ -26,6 +27,7 @@ export function initColorSelects(): void {
   for (const select of getElements<HTMLSelectElement>('select.color-select')) {
     new TomSelect(select, {
       ...config,
+      maxOptions: undefined,
       render: {
         option: renderColor,
         item: renderColor,

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików