mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't close providers dropdowns on select
This commit is contained in:
@@ -708,6 +708,7 @@ export function initTextGenModels() {
|
|||||||
searchInputPlaceholder: 'Search providers...',
|
searchInputPlaceholder: 'Search providers...',
|
||||||
searchInputCssClass: 'text_pole',
|
searchInputCssClass: 'text_pole',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
closeOnSelect: false,
|
||||||
});
|
});
|
||||||
providersSelect.on('select2:select', function (/** @type {any} */ evt) {
|
providersSelect.on('select2:select', function (/** @type {any} */ evt) {
|
||||||
const element = evt.params.data.element;
|
const element = evt.params.data.element;
|
||||||
|
Reference in New Issue
Block a user