Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Separating Key and Value in Dropdown shared component

Open
#342 1 comment 0 reactions 2 assignees View on GitHub

@alexjoybc is already working on this.

Since Jan 28, 2021.

Assessment

This issue has not been assessed yet.

Description

approved Candidate

https://github.com/bcgov/react-shared-components/blob/3a3312dd06d9d7177f8df59fdecf99440495df70/src/components/dropdown/Dropdown.js#L26-L28

For better usage of the dropdown it would be nice to be able to pass an array of key value pair so that the displayed text will be the value and the key would be used as the key

Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bcgov/react-shared-components

All issues in bcgov/react-shared-components

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.