-
Notifications
You must be signed in to change notification settings - Fork 2
display # of answers for checkboxes + all questions answered #1180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…isplay of error and account for other errors
…ight before submitting that doesn't seem like a good idea
| variant="contained" | ||
| sx={{ alignSelf: "flex-end" }} | ||
| disabled={module.isLocked ?? false} | ||
| disabled={(module.isLocked || blockSubmit) ?? false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think block submit needs to be in a state or useEffect, I'm pretty sure you can just use answerSheet.some() in this conditional (or put that in a function and call that function here).
| } | ||
| }; | ||
|
|
||
| function editQuizOptions(quiz: TrainingModuleItem[]){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this function can be named better, its a little confusing
Closes: #1057
Closes: #1058