Carbon: Radio button selection in the Carbon data table should support table actions

Created on 8 May 2019  ·  3Comments  ·  Source: carbon-design-system/carbon

Originally reported by Tom Ginader in IBM Slack:

Hello. How would I use radio buttons in DataTable to have actions? I was able to get regular selection with batch actions working properly, but we realized that we only want our users to select one item at a time. I'm not seeing any examples that combines radio button selection with some kind of action.

react open visual 🎨 blocked 🙅‍♀️ discussion 💬 enhancement 💡

All 3 comments

Reduced case: https://7142j221yq.codesandbox.io/

More details describing what the issue is about:

You can see that clicking the checkbox triggers the batch action options, but clicking on a radio button does not.

This patterned has not been evaluated for inclusion in our master branch

the team has decided not to implement this behavior at this time, but if you believe that this use case should be part of the core Carbon library feel free to provide your thoughts below

as a workaround the structured list may be a better component for this use case

Was this page helpful?
0 / 5 - 0 ratings