react-native-multiple-choice
react-native-multiple-choice copied to clipboard
Multiple instances of component with same values
When using multiple instances of the component with same values, then they are synchronised, so checking value a in instance, means it's also checked in instance b.
oh well, it's not related to the same label…
I'm also experiencing something alike. It seems that the component instance is never destroyed when the screen is.
A more detailed description (please refer to this @d-a-n ):
- I added the MultipleChoice component to a Modal
- I can select items and then navigate to another page
- I then navigate to the same page again
- When I open the modal, the ✓ images are still in place, however, when I click them, I "unselect" them visually (while in fact they get selected)