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

🎨 Multi-Inputs more user friendly UI #2533

Merged
merged 3 commits into from
Jan 21, 2024
Merged

Conversation

huchenlei
Copy link
Collaborator

Closes #2532.

1705878420439

@@ -388,8 +388,7 @@ def get_element(obj, strict=False):
return None

attribute_value = get_element(getattr(p, attribute, None), strict)
default_value = get_element(default)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value here now can be list. Calling get_element will get the item on idx, which is not what we want.

Generally I don't think here get_element call is justified on default.

@huchenlei huchenlei merged commit 81b5dde into Mikubill:main Jan 21, 2024
1 check passed
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.

Consider using a more intuitive multi-image approach?
1 participant