After resetting I can submit again without selecting a new option and it uses the previous submit value
Expected behavior
The "Submit" button should be disabled after clicking reset option.
Actual behavior
After clicking the "Reset" button, questions are reset, but the "Submit" button stays active and clickable. If the user clicks the "Submit" button without selecting any option, it is marked incorrect.
https://github.com/openedx/wg-build-test-release/assets/170630433/7f84c701-2a97-44e4-9486-2e32d13fa298
Steps to reproduce
- Navigate to a common problem type component (SCQ, MCQ ) in the course.
- Attempt a question and submit an incorrect answer.
- Click the "Reset" button to reset the question.
- Click the submit button without selecting any option.
- Observe the behavior.
Additional information
- This issue affects all common problem components.
Original issue: https://github.com/openedx/wg-build-test-release/issues/362
This is currently happening in quince as well.
FYI @arbrandes @brian-smith-tcril @openedx/2u-infinity, please tag anyone you think can help. Thanks!
@mariajgrimaldi I have sent a merge request: https://github.com/openedx/edx-platform/pull/35118 to fix this issue. Please take a look
Hey @imasdekar, thank you so much for the fix! We really appreciate it. I'll look (or find someone who can) as soon as possible.
This issue affects edx-platform instead of the MFE, so I'm going to close the issue in the MFE to track it in the BTR repo directly.