wingkwong / react-quiz-component

:orange_book: React Quiz Component
https://wingkwong.github.io/react-quiz-component/
MIT License
376 stars 147 forks source link

On selecting multiple select correct anwser it add undefined class to the button instead of correct #317

Closed IamAhsanMani closed 1 month ago

IamAhsanMani commented 1 month ago

https://github.com/user-attachments/assets/13a89e4e-2c19-42f5-8637-d3f826cc2a21

Check this video

IamAhsanMani commented 1 month ago

@wingkwong if i pass the showInstantFeedback to quiz, Then work fine there is bug in className assigning could you please fix it need urgent these changes.

and also how to get those new changes like

this new appLocale data

pauseScreenDisplay: 'Test is paused. Clicked the Resume button to continue', timerTimeRemaining: 'Time Remaining', timerTimeTaken: 'Time Taken', pauseScreenPause: 'Pause', pauseScreenResume: 'Resume', singleSelectionTagText: 'Single Selection', multipleSelectionTagText: 'Multiple Selection', pickNumberOfSelection: 'Pick ', marksOfQuestion: '( marks)',

IamAhsanMani commented 1 month ago

will work now fine?

wingkwong commented 1 month ago

please upgrade to 0.9.0

IamAhsanMani commented 1 month ago

Hi, @wingkwong

Check it out issue is still at here on selecting 1st and 2nd option it work fine when select 3rd option it remove correct or incorrrect class instead of adding it to all 3 options.

https://github.com/user-attachments/assets/05ef44a9-dd73-4308-ae2c-3d354b033f91

wingkwong commented 1 month ago

please create a new issue with sandbox