Picture of Lars Halkjær
Re: MCQ & GMCQ reset answer error
by Lars Halkjær - Wednesday, 2 March 2022, 1:52 PM
 

I have experienced that the issue happens whether _canShowModelAnswer is true or not.

I also noticed that I could select the "dead" item using focus + ENTER-key.

It looks like the onChange handler of the input element is not called (McqView.onItemSelect does not get called when clicking on the item, but it does when using the ENTER-key, where McqView.onKeyPress is called, which in turn calls McqView.onItemSelect).

Unfortunately, I am not familiar enough with the finer details of React event handling to pinpoint the problem.