Skip to content

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

Description

@nesnass

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions