Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

react-core SelectOption should support label attribute #1198

@kahboom

Description

@kahboom

For feature requests or enhancements, file an issue against patternfly-design.

SelectOption should behave like a typical option tag within a select element and allow you to specify a label for it. At the moment, it only supports a value.

A use case for needing this is dynamic fields that don't have a single label you can manually type in outside of the dropdown.

For bug reports, please provide as much relevant info as possible:

  • What browser(s), device and OS experience the problem? Chrome, macOS Catalina
  • Are you using a PatternFly JS framework implementation [1]? patternfly 4 / react-core
  • What are the steps to reproduce the issue and what is the expected behavior?

Codepen here.

Tell us more about your product/project and timeline to help prioritize this issue.

  • What product/project does this impact? Fuse Online, Syndesis

Related to syndesisio/syndesis#7539

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions