bcgov / bcgov/react-shared-components

Separating Key and Value in Dropdown shared component

Open
#342 1 comment 0 reactions 2 assignees Claimed by @alexjoybc View on GitHub
approved Candidate
Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.