danish1658 / react-native-dropdown-select-list

☝️ React Native Select List Equivalent to Html's Select with options"
https://www.npmjs.com/package/react-native-dropdown-select-list
MIT License
193 stars 90 forks source link

Is there a way to display a "label" as opposed to the "value"? #108

Closed LyDawei closed 6 months ago

LyDawei commented 6 months ago

I have a dropdown whose dataset is something like...

const data = [{key:1, label: 'Houston Hobby Airport', value: 'HOU'}];

However, based on everything I've read, it seems like the value is being used as a label for the select dropdown, is there a way to use a label instead of the value?

IE. the dropdown would display "Houston Hobby Airport" as an option.

vyshnu-atelia commented 6 months ago

Did you find any option for this @LyDawei

LyDawei commented 6 months ago

no @vyshnu2 i opted out of this library because it seems dead.

vyshnu-atelia commented 6 months ago

@LyDawei is there any other library you have choosen