suho / kmm-ic

KMM Project with SwiftUI + Jetpack Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[iOS] [Integrate] As a user, I can see multiple selects answer

suho opened this issue · comments

commented

Why

There are two types of Choice questions; Single-choice questions and Multiple-choice questions. Choice questions allow users to choose the most suitable option to answer since the mobile app will list all the options.

As opposed to dropdown questions, Single-choice questions tend to be used when there are only a few options, for example, where do you hear out about us, how do you commute, etc.

Acceptance Criteria

When a Question model has display_type as choice AND pick as one,

  • Display a Single-choice question
  • Use the answers to show as choices
  • Allow only one selection
    • So, if a user selects A and then B, only B should be selected.
  • By default, none are initially selected

When a Question model has display_type as choice AND pick as any,

  • Display a Multiple-choice question
  • Use the answers to show as choices
  • Allow multiple selections
    • So, if a user selects A and then B, both A and B should be selected.
  • By default, none are initially selected

Design

Choice Question