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

Control filter list #2009

Merged

Conversation

pythongosssss
Copy link
Collaborator

Allows filtering of the items in a COMBO primitive (e.g. LoadImage images list) when using control_after_generate.
You can also use regex to filter the items by wrapping the expression in /s e.g. /(sdxl|sd15)/

Maintains existing behavior of addValueControlWidget for extensions currently using it, adding addValueControlWidgets which returns an array of added widgets.

@pythongosssss pythongosssss marked this pull request as draft November 21, 2023 15:21
@pythongosssss pythongosssss marked this pull request as ready for review November 21, 2023 17:49
@comfyanonymous comfyanonymous merged commit 70d2ea0 into comfyanonymous:master Nov 22, 2023
1 check passed
@pythongosssss pythongosssss deleted the control-filter-list branch November 23, 2023 08:37
HorusElohim pushed a commit to HorusElohim/PyfyUI that referenced this pull request Feb 17, 2024
* Add control_filter_list to filter items after queue

* fix regex

* backwards compatibility

* formatting

* revert

* Add and fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants