Closed wingkwong closed 7 months ago
Currently it will just disable first 4 options while the number of answers could be greater than 4, depending on user input, i.e. question[i].answers.
question[i].answers
https://github.com/wingkwong/react-quiz-component/blob/11a3ddf8856523f7545755b745dfb5255f89143b/src/lib/core-components/helpers.jsx#L27-L32
Currently it will just disable first 4 options while the number of answers could be greater than 4, depending on user input, i.e.
question[i].answers
.https://github.com/wingkwong/react-quiz-component/blob/11a3ddf8856523f7545755b745dfb5255f89143b/src/lib/core-components/helpers.jsx#L27-L32