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

New predefined option "Select All" for the Select #2007

Open
GomezIvann opened this issue May 24, 2024 · 2 comments
Open

New predefined option "Select All" for the Select #2007

GomezIvann opened this issue May 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request jira This task is referenced in a story of Jira non-closable This task is exempt from becoming stale or automatically closed.

Comments

@GomezIvann
Copy link
Collaborator

Commonly, our Select component is used as a filter. For example, the new DxcBarChart filters the displayed data. In those scenarios where you select and unselect almost all the options, the need arises for an option that selects them all at once.

image
https://www.delldesignsystem.com/components/dropdown/?tab=Design

The task here would be to investigate how to approach this functionality, from both design and implementation perspectives.

@GomezIvann GomezIvann added enhancement New feature or request jira This task is referenced in a story of Jira labels May 24, 2024
Copy link

Thank you for opening an issue! 🚀

Our team will review it as soon as possible. In the meantime, please make sure that you've provided all the necessary details to help us understand and address the issue effectively.

Feel free to contribute and participate in discussions!

@GomezIvann GomezIvann added the non-closable This task is exempt from becoming stale or automatically closed. label May 24, 2024
@GomezIvann
Copy link
Collaborator Author

GomezIvann commented May 24, 2024

From our designer Irene:

Functional Requirements

  • Placement: The "Select All" option should be placed at the top of the dropdown list for easy access.
  • Behavior:
    • When "Select All" is clicked, all individual items in the dropdown are selected.
    • When "Deselect All" (same "Select All" option) is clicked again, all individual items in the dropdown are deselected.
  • Visibility: The "Select All" option should always be visible when the dropdown is expanded.
  • The prop is gonna be called enableSelectAll.

@GomezIvann GomezIvann self-assigned this May 29, 2024
@GomezIvann GomezIvann changed the title New predefined option "Select All" for the DxcSelect New predefined option "Select All" for the Select Sep 26, 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 jira This task is referenced in a story of Jira non-closable This task is exempt from becoming stale or automatically closed.
Projects
None yet
Development

No branches or pull requests

1 participant