mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Don't close select field when multiple select
This commit is contained in:
2
netbox/project-static/dist/netbox.js
vendored
2
netbox/project-static/dist/netbox.js
vendored
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox.js.map
vendored
2
netbox/project-static/dist/netbox.js.map
vendored
File diff suppressed because one or more lines are too long
@ -205,6 +205,11 @@ export class APISelect {
|
|||||||
onChange: () => this.handleSlimChange(),
|
onChange: () => this.handleSlimChange(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Don't close on select if multiple select
|
||||||
|
if (this.base.multiple) {
|
||||||
|
this.slim.config.closeOnSelect = false;
|
||||||
|
}
|
||||||
|
|
||||||
// Initialize API query properties.
|
// Initialize API query properties.
|
||||||
this.getStaticParams();
|
this.getStaticParams();
|
||||||
this.getDynamicParams();
|
this.getDynamicParams();
|
||||||
|
Reference in New Issue
Block a user