studentquiz / moodle-mod_studentquiz

Moodle-Plugin
GNU General Public License v3.0
38 stars 37 forks source link

StudentQuiz: The question state automatically changes to Disapproved when no state is selected. #477

Closed vuvanhieu143 closed 9 months ago

vuvanhieu143 commented 9 months ago

Hi @timhunt , I have changed the default value of the question state so we should not update the state if users haven't changed the select value. If you want, I can write an additional javascript to disable the button if the user hasn't changed the select value but I think since this I think we shouldn't make things more complicated.

timhunt commented 9 months ago

Shouldn't there be a Behat test for this? I will merge anyway, but consider adding one later.