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

Bug: An optional single-choice answer cannot be skipped after selection #290

Open
nesnass opened this issue May 28, 2024 · 0 comments
Open

Comments

@nesnass
Copy link

nesnass commented May 28, 2024

Describe the bug
When a question is set to required: false and also multiple: false it is not possible to de-select an answer.
That means it's not possible to skip the question after a mistaken selection, even though 'required' is false.

To Reproduce
Use the following question setup:

new QuestionModel({
  id: 'singleChoice1',
  title: 'Single choice question',
  type: QuestionType.MultipleChoice,   (or QuestionType.Dropdown)
  multiple: false,
  required: false,
})

Expected behavior
In this case it should be possible to de-select an answer, so that the 'skip' button is again visible

Desktop (please complete the following information):

  • Device: Apple Mac
  • OS: MacOS
  • Browser Chrome
  • Version 123.0.6312.87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant