mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
fix: increase maxItems for autocomplete to improve user experience
This commit is contained in:
@@ -7,7 +7,7 @@ class AutoComplete {
|
|||||||
this.inputElement = inputElement;
|
this.inputElement = inputElement;
|
||||||
this.modelType = modelType;
|
this.modelType = modelType;
|
||||||
this.options = {
|
this.options = {
|
||||||
maxItems: 15,
|
maxItems: 20,
|
||||||
minChars: 1,
|
minChars: 1,
|
||||||
debounceDelay: 200,
|
debounceDelay: 200,
|
||||||
showPreview: true,
|
showPreview: true,
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ export function setupInputWidgetWithAutocomplete(node, inputWidget, originalCall
|
|||||||
// Initialize autocomplete on first callback if not already done
|
// Initialize autocomplete on first callback if not already done
|
||||||
if (!autocomplete && inputWidget.inputEl) {
|
if (!autocomplete && inputWidget.inputEl) {
|
||||||
autocomplete = new AutoComplete(inputWidget.inputEl, 'loras', {
|
autocomplete = new AutoComplete(inputWidget.inputEl, 'loras', {
|
||||||
maxItems: 15,
|
maxItems: 20,
|
||||||
minChars: 1,
|
minChars: 1,
|
||||||
debounceDelay: 200
|
debounceDelay: 200
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user