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

Dropdown arrow, renderAccessory, is not showing up #254

Open
varun-batta-vc opened this issue Oct 1, 2020 · 2 comments
Open

Dropdown arrow, renderAccessory, is not showing up #254

varun-batta-vc opened this issue Oct 1, 2020 · 2 comments

Comments

@varun-batta-vc
Copy link

I am using react-native 0.63.2, and have imported dropdown from react-native-material-dropdown-v2. I've created a simple dropdown with data, value, and onChangeText props. However, for some reason, the dropdown arrow never shows, even if I change the renderAccessory prop or the baseColor or anything else. Any suggestions?

@dillonkuester
Copy link

dillonkuester commented Oct 9, 2020

Looking for suggestions as well.

@MakChan
Copy link

MakChan commented Oct 22, 2020

react-native-material-dropdown-v2 uses TextInput from react-native-paper while react-native-material-dropdown uses react-native-material-textfield. TextInput doesn't take renderAccessory prop instead it takes a right prop where a TextInput.Icon component can be passed. You can fork the repo and make these changes like I did here.

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

3 participants