Skip to content

Add option to maintain selections on response action buttons #580

@rebeccaalpert

Description

@rebeccaalpert

Rework the existing logic where items get de-selected automatically when you click outside the group or click a different option in the group (goal is a non-breaking, opt-in change).

Logic currently lives here: https://github.com/patternfly/chatbot/blob/main/packages/module/src/ResponseActions/ResponseActions.tsx#L61

We should have a demo with tests, as well as new code with new prop.

Metadata

Metadata

Assignees

Labels

PF6Applies to only the PF6 version

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions