Is there a way to give placeholder text for the search box? #34
-
When isSearcheable is enabled, we get a search box in the modal, an input component with borders. End users are getting confused with the box design. A placeholder text for the search box makes it convenient. Is there a way to give placeholder text for the search box? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
@vinodsptharsha Great question. A new release has just been published addressing this question searchControls={{
textInputProps: {
placeholder: 'Search anything here',
placeholderTextColor: 'gray',
},
}} textInputProps can take the same kind of properties accepted by the base React Native TextInput |
Beta Was this translation helpful? Give feedback.
-
@azeezat Thank you for restoring the support for the empty array. I have one question! Is there a way, I can put a custom message instead of no options available when the array is empty? I have dependent dropdowns, after selecting one option only I will get options for another dropdown. I can show a user message saying please select the first dropdown option first. |
Beta Was this translation helpful? Give feedback.
@vinodsptharsha Great question. A new release has just been published addressing this question
textInputProps can take the same kind of properties accepted by the base React Native TextInput