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

[Bug]: Text should be visible always if only 1 long text option is selected in Multi-select widget #11078

Closed
1 task done
chandannkumar opened this issue Feb 10, 2022 · 2 comments
Assignees
Labels
Bug Something isn't working Low An issue that is neither critical nor breaks a user flow MultiSelect Widget Issues related to MultiSelect Widget MultiTree Select Widget Issues related to MultiTree Select Widget Needs Triaging Needs attention from maintainers to triage UI Building Product Issues related to the UI Building experience Widgets Product This label groups issues related to widgets

Comments

@chandannkumar
Copy link

chandannkumar commented Feb 10, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If the options in the dropdown have long text name then Multi select and Multi Tree select widget displays +1more instead of text name

LOOM DEMO

Enhancement: If we have long text name in dropdown list, truncate the text if only 1 option has been selected

Steps To Reproduce

  1. Add Multi-select or Multi-tree select widget on the canvas
  2. Add long text option in the dropdown list
  3. Observe that truncated text name is not displayed instead of +1more

Environment

Production

Version

Cloud

@chandannkumar chandannkumar added Bug Something isn't working Widgets Product This label groups issues related to widgets Low An issue that is neither critical nor breaks a user flow UI Building Pod Needs Triaging Needs attention from maintainers to triage UI Building Product Issues related to the UI Building experience MultiSelect Widget Issues related to MultiSelect Widget MultiTree Select Widget Issues related to MultiTree Select Widget labels Feb 10, 2022
@dilippitchika
Copy link
Contributor

Hey @chandannkumar the reason we don't truncate text is because we will have to truncate again when another item is added.

More the items, more the truncation which won't be useful for anyone. To navigate around this, we simplified by adding +1 +2 etc.

I don't see a strong reason to change this to truncation.

@chandannkumar
Copy link
Author

Thanks @dilippitchika for sharing this information. I agree to keep this as it is now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Low An issue that is neither critical nor breaks a user flow MultiSelect Widget Issues related to MultiSelect Widget MultiTree Select Widget Issues related to MultiTree Select Widget Needs Triaging Needs attention from maintainers to triage UI Building Product Issues related to the UI Building experience Widgets Product This label groups issues related to widgets
Projects
None yet
Development

No branches or pull requests

3 participants