bcgov / bcgov/react-shared-components

Separating Key and Value in Dropdown shared component

Aperta
#342 1 commento 0 reazioni 2 assegnatari Rivendicata da @alexjoybc Vedi su GitHub
approved Candidate
Lingua principale
JavaScript
Stelle
4
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.