react-native-sectioned-multi-select icon indicating copy to clipboard operation
react-native-sectioned-multi-select copied to clipboard

add caption selecttext when option is selected

Open applizem opened this issue 5 years ago • 2 comments

When single is true, and the user selects a value, the selecttext prop is no longer displayed. The user can no longer know the name of the selectbox. I added the props below:

  • showSelectTextCaption (false by default) to show or hide caption when option is selected.
  • selectTextCaption (style) to define custom style for the caption

On the other hand I also added "viewSelector" style to have the be able to stylize the view which includes the selector. I wanted to add flex: 0.5 on it but I could not. caption2

applizem avatar Apr 25 '19 09:04 applizem

I would encourage you to use the renderSelectText function instead. I will change it so you can return a component or a string, so you can style it how you need.

renrizzolo avatar May 01 '19 04:05 renrizzolo

This PR is stale because it has been open 45 days with no activity.

github-actions[bot] avatar Jan 27 '22 02:01 github-actions[bot]