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 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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