danish1658 / react-native-dropdown-select-list

☝️ React Native Select List Equivalent to Html's Select with options"
https://www.npmjs.com/package/react-native-dropdown-select-list
MIT License
200 stars 89 forks source link

Add disable Input option #21

Closed JaissonB closed 1 year ago

JaissonB commented 1 year ago

Hello,

I think is simple add a disable option, that will be so interesting to much cases.

Reciving a "editable" parameter and passing that to the TextInput, how would be in a normal TextInput, and making it impossible the "onPress" on TouchableOpacity in this cases.

I got no execute the project in my machine to try this feature, but a realy think will be simple change.

Sorry for speculation, but a realy liked this project, success!

Tell me if you will want any help. I don't know a lot, but I would love to help!

danish1658 commented 1 year ago

v2 is out now , see if issue is fixed , if not you can reopen this issue

JaissonB commented 1 year ago

When I update the version to v2, start an error when using "forwardRef" from "react".

In the previous version this did not happen.

I couldn't test the issue in my project.

image