Don't close providers dropdowns on select

This commit is contained in:
Cohee 2024-08-06 11:27:38 +03:00
parent e45a445ef9
commit 76e2586eaf

View File

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