react-native-context-menu-view
react-native-context-menu-view copied to clipboard
Add custom ID property
Tried all libraries, love this the most. But without a custom ID property, it is almost impossible to manage a dynamic list easily when on press. Therefore added custom ID.
Good stuff, thanks for sending. Does this make id always required? Meaning if someone upgrade la their version and has not set an if explicitly for their actions will it crash? Maybe we could default the is to the index unless otherwise specified?
@mpiannucci good point. I am not an expert in native code (that is why I am using React Native). I did test that what if I don't supply id
in RN. For iOS, then a system generated id will be returned. Maybe you can suggest edits to the native code of how to properly make id
not required so it is not breaking?
Ill take a look this week
Hello, any news about this PR? I'd like to be able to use custom IDs as well, mainly for i18n issues 😇
Hello, any news about this PR? I'd like to be able to use custom IDs as well, mainly for i18n issues 😇
Sorry!! busy times, ill try and set aside some time this weekend
Hey @mpiannucci ! Is there any chance we could get some momentum on this PR? Our project would greatly benefit from it. If there's anything I can do to help, let me know!
Closing this PR as I have moved to another library.