Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Submenus for Long COMBO lists #310

Open
1 task done
Amorano opened this issue Aug 5, 2024 · 0 comments
Open
1 task done

[Feature Request]: Submenus for Long COMBO lists #310

Amorano opened this issue Aug 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Amorano
Copy link

Amorano commented Aug 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

Add a meta attr to a field that would allow the combobox list to be turned into a sublist of items:

image
image

Proposed workflow

"FIELD": ("COMBO_LIST_OF_STUFFS", {})
==>
"FIELD": ("COMBO_LIST_OF_STUFFS", {"compact": True})

Compact could also be used as a general attribute representing a collapsed/compacted display of the field with an exposure to allow the node authors to "re-organize" said display how they wanted.

For the FL node above, it was based on the reference from pythongosssss existing solution:

https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/main/web/js/betterCombos.js

Additional information

No response

@Amorano Amorano added the enhancement New feature or request label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant