llaske / ExerciserReact

React code of Exerciser Activity. GSoC 2018
Apache License 2.0
15 stars 49 forks source link

Blank answers/options are distorted when error in submit #37

Closed Anshuman71 closed 5 years ago

Anshuman71 commented 5 years ago

Screenshot from 2019-03-29 08-24-09

llaske commented 5 years ago

What was your template to obtain this result?

Anshuman71 commented 5 years ago

What was your template to obtain this result?

When we use Cloze Text and go on to make write in exercise, if we submit without filling any of the answers then this happens

llaske commented 5 years ago

Okay, you're right it's ugly. BTW it's not related to "write in" same thing happen in list mode.

ironsoul0 commented 5 years ago

Okay, you're right it's ugly. BTW it's not related to "write in" same thing happen in list mode.

May you please review PR #44. I think it should solve the problem.

AvinashAgarwal14 commented 5 years ago

@llaske The issue is justified. It only happens when the number of clozes and the number of blanks is not the same, which shouldn't be the case. Should we add an error message which appears if the user tries to submit a question with an uneven number of blanks and clozes?

AvinashAgarwal14 commented 5 years ago

@llaske The issue is justified. It only happens when the number of clozes and the number of blanks is not the same, which shouldn't be the case. Should we add an error message which appears if the user tries to submit a question with an uneven number of blanks and clozes?