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

Fixes #9556 - Don't close select field when multiple select (v2)
This commit is contained in:
Jeremy Stretch 2022-06-20 08:25:49 -04:00 committed by GitHub
commit 4109113319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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();