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

Fix truncating non-string combo widgets #74

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

christian-byrne
Copy link
Contributor

Text truncate in combo widgets was not converting to string before attempting to truncate. If there were combos of numbers or objects and they exceeded the available space, it tried to call substr and the entire graph breaks.

After fix it works with all types:

d.mp4

@huchenlei huchenlei merged commit effa216 into Comfy-Org:master Aug 18, 2024
4 checks passed
@christian-byrne christian-byrne deleted the truncate-cast-string branch August 18, 2024 07:23
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