Comfy-Org / Comfy-Org/ComfyUI

TreeSelect for LoRA picker doesn't support global substring search

Open
#13,494 7 comments 1 reaction 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Feature Idea

## Problem

When using the LoRA picker (dropdown) in nodes like LoraLoader, WanVideo Lora Select, etc., the UI shows a **tree structure** (folder hierarchy).

The issue is that typing to search only filters the **currently expanded tree nodes**, not all LoRAs globally. Users cannot directly search for a LoRA that's in a collapsed subfolder.

## Expected Behavior

When clicking the LoRA dropdown, typing should search and highlight **all LoRAs across all folders**, similar to how the old Dropdown component worked.

## Environment

- ComfyUI version:1.9.0
- Frontend package: comfyui-frontend-package 1.34.9
- Browser: chrome

## Screenshots

Image

Image

## Additional Context

This was apparently fixed in some earlier versions that used PrimeVue Dropdown instead of TreeSelect, but regressed when TreeSelect was reintroduced. maybe? checked by minimax2.7,我有很多lora,和子文件夹,直接搜索搜不到就很麻烦

### Existing Solutions

_No response_

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.