Skip to content

Documentation: SelectField drop-down examples show selection's key instead of name value #180

@bryan-flynn-zd

Description

@bryan-flynn-zd

Expectations

Expecting SelectField drop-down examples to display name value after a selection is made, not key value.

Reality

After a selection is made, the drop-down SelectField examples display the selection's key value versus name value. Users often copy/paste code examples verbatim, so displaying name value would be best.

Steps to Reproduce

  1. Go to https://garden.zendesk.com/react-components/select/
  2. Go to "Accessibility Message" or "Small Select" example
  3. Click on drop-down and select "Item 3"

Key value "item-3" is displayed instead of "Item 3".

Fine Print
  • Component: SelectField
  • Browsers: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions