shresthasumit55 / phone-dialer

0 stars 0 forks source link

Add Answer Choise Type to the Question #10

Closed shresthasumit55 closed 4 years ago

shresthasumit55 commented 4 years ago

Original report by Askar Kuvanychbekov (Bitbucket: barsbek10, GitHub: barsbek10).


Right now, exam takers can choose more than one answer choice for each question, although some of them should allow choosing only one. We need to add an option of choosing answer choice type when creating a question. Type will be: checkbox(current one), radio buttons (allow choosing only one), text input.

  1. Sumit: Add “type” field in the backend in Question class (in qms and also maybe in ems too, please check)
  2. Askar: make frontend change in question create/update in QMS (assigned to Askar, because it’s REACT. but if Sumit is ok with React, then he can proceed)
  3. Sumit: make frontend change in exam question in EMS

Update:

4. ?: Need to make changes to Question import as well. At least, if question type is not specified in import file, put default question type while parsing the file.

shresthasumit55 commented 4 years ago

Original comment by Sumit Shrestha (Bitbucket: shresthasumit55, GitHub: shresthasumit55).


@{5ce6fc294401890dcab4062a} I am familiar with react so I can do the step 2 as well.

shresthasumit55 commented 4 years ago

Original comment by Sumit Shrestha (Bitbucket: shresthasumit55, GitHub: shresthasumit55).


The changes have been committed.