Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hideSearch does NOT work with RN 0.63.2 #144

Open
Bilal-Abdeen opened this issue Aug 8, 2020 · 1 comment
Open

hideSearch does NOT work with RN 0.63.2 #144

Bilal-Abdeen opened this issue Aug 8, 2020 · 1 comment

Comments

@Bilal-Abdeen
Copy link

Issue summary

The prop hideSearch seems to have no effect at all!

Library versions

react-native: 0.63.2
react-native-multiple-select: 0.5.5

Steps to Reproduce

  1. Copy the example, which is in the readme file of this library, to my project, and make sure it works fine.
  2. Add the prop hideSearch={true}

Results

The search input element is still displayed. It should NOT be.

@Bilal-Abdeen
Copy link
Author

As a temporary workaround, I used styles to hide the search element.

<MultiSelect
  items={items}
  uniqueKey="id"

  // more props..... 
  
  // The following does NOT work!
  hideSearch={true} 

  // Use styles to hide the search element 
  styleInputGroup={{ display: "none", }}
/> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant