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
969 stars 294 forks source link

Searching and updating Item Issue #740

Open RadheSwil opened 4 months ago

RadheSwil commented 4 months ago

Whenever I input the label 'NameToDisplay' and fill the 'NameToDisplay' field with values like 000023, 00988823, 123323, 1232132, the OnChangeText event triggers an API call. This API searches within my product database based on the input text, for example, 'ad'. The API returns a product list where the product names start with 'ad', limited to a length of 3. However, in the picker component, I observe that the products 000023, 00988823, 123323, 1232132 appear first before the three new products returned by the API.