bcgov / bcgov/react-shared-components

Separating Key and Value in Dropdown shared component

Offen
#342 1 Kommentar 0 Reaktionen 2 zugewiesene Personen Beansprucht von @alexjoybc Auf GitHub ansehen
approved Candidate
Vorherrschende Sprache
JavaScript
Sterne
4
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.