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

[Feature Request]: Table single select has no unselect #439

Closed
2 tasks done
nicolaeClichici opened this issue Nov 1, 2022 · 4 comments
Closed
2 tasks done

[Feature Request]: Table single select has no unselect #439

nicolaeClichici opened this issue Nov 1, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@nicolaeClichici
Copy link

Description

Hello !
A Table component with selectionType="single" doesn't support unselect item like selectionType="multi".
Example:

  1. Select item.
  2. Try to unselect -> nothin happens.(onSelectionChange is not triggered by trying to unselect item)

Code of Conduct

@nicolaeClichici nicolaeClichici added the enhancement New feature or request label Nov 1, 2022
@rubencarvalho
Copy link
Contributor

Hello!
Our selectionType="single" Table follows the standard behaviour of a radio group which also doesn’t provide a way to unselect an item.
Could you share more information about your use case? Maybe there’s a better UX pattern we can recommend to achieve what you want to do.
Thank you.

@nicolaeClichici
Copy link
Author

Hi!
In my case, I want to make an table with single selection and a split panel wich is related to selection item details, example:
select an item from table -> split-panel open and show info about item -> unselect item in table -> split-panel close.

@connorlanigan
Copy link
Member

Hello!
The split panel already provides a built-in way of closing it, by clicking the arrow icon in the top right of the split panel.

@just-boris
Copy link
Member

Closing due to inactivity. Feel free to reopen with additional comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants