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

Update button key prop for buttonSelectors #198

Open
KristinAoki opened this issue Apr 19, 2022 · 0 comments
Open

Update button key prop for buttonSelectors #198

KristinAoki opened this issue Apr 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@KristinAoki
Copy link
Collaborator

Currently, all the buttons for mutliButtonSelecotrs and numberButtonSelectors use the option.id for the button's key prop. The option.id is an integer ranging from zero to the number of buttons minus one. This means all of the buttons share the same key with one or more buttons. This throws a warning message because it is expected that elements have unique ids. We suggest that the key prop is changed to the question UUID or the question name.

@KristinAoki KristinAoki added the bug Something isn't working label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant