hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
970 stars 294 forks source link

Empty Label #662

Open Osamasomy opened 1 year ago

Osamasomy commented 1 year ago

https://snack.expo.dev/@usamasomy/dropdown-test

Hi,

Thank you for this amazing library. I'm currently using it to fetch data from an API when the user starts typing. However, some of the labels in the data are empty, and I want to display a fallback label whenever the label is empty, null, or undefined. In my case, the fallback parameter name is "en_name".

Thanks in advance.