Sfoglia il codice sorgente

#14917: Nullify maxOptions for static select fields

Jeremy Stretch 2 anni fa
parent
commit
7e7e5d5eb0

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


File diff suppressed because it is too large
+ 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,

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