Skip to content

Be able to update accordion label from backend #2668

@freddyaboulton

Description

@freddyaboulton
  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
Would be nice if developers could update the accordion label from the backend.

Example use case,

You have a drop down with dataset names on the left hand side and information about the dataset in different accordion components. You'd like the accordion title to reflect the current dataset selected.

For example, in the UI below, it might be nice if instead of "Dataset Description" it read " description" or "Label Distribution for "

image

Describe the solution you'd like

gr.Accordion.update(label=<new-label>)

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions