Ver Fonte

Merge pull request #9558 from kkthxbye-code/fix-9556

Fixes #9556 - Don't close select field when multiple select (v2)
Jeremy Stretch há 4 anos atrás
pai
commit
4109113319

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
netbox/project-static/dist/netbox.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 5 - 0
netbox/project-static/src/select/api/apiSelect.ts

@@ -205,6 +205,11 @@ export class APISelect {
       onChange: () => this.handleSlimChange(),
     });
 
+    // Don't close on select if multiple select
+    if (this.base.multiple) {
+      this.slim.config.closeOnSelect = false;
+    }
+
     // Initialize API query properties.
     this.getStaticParams();
     this.getDynamicParams();

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