ndunand / moodle-mod_choicegroup

Moodle "Group Choice" plugin
https://moodle.org/plugins/mod_choicegroup
35 stars 63 forks source link

Radio buttons should be disabled until the choice is reverted #158

Closed pavelsokolov closed 1 year ago

pavelsokolov commented 3 years ago

Right now after the choice is made, radio buttons are still clickable, though you have to revert your choice before being able to save a new one. They should be disabled.

renderer.php:142

        // Disable updates until the choice is reset
        if (!$multipleenrollmentspossible && !empty($options['allowupdate']) && ($options['allowupdate'])) {
            $attributes['disabled'] = true;
        }