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

checkbox questions have inconsistent control #347

Open
bxie opened this issue Jul 10, 2019 · 0 comments
Open

checkbox questions have inconsistent control #347

bxie opened this issue Jul 10, 2019 · 0 comments
Labels
low priority a "nice to have" improvement. This task is not critical or time-sensitive.

Comments

@bxie
Copy link
Collaborator

bxie commented Jul 10, 2019

When submitting responses for a checkbox question (e.g. follow-up for "Can you read variable updates?"), get following warning:

A component is changing an uncontrolled input of type checkbox to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component.

Not aware that this causes bugs or unintended behavior.

more on this: https://reactjs.org/docs/forms.html#controlled-components

image

@bxie bxie added the low priority a "nice to have" improvement. This task is not critical or time-sensitive. label Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority a "nice to have" improvement. This task is not critical or time-sensitive.
Projects
None yet
Development

No branches or pull requests

1 participant