How to disable the fields for minimum and maximum number of students enrolled in a group course
To disable the fields Minimum number of students e Maximum number of students navigate to Configuration → Settings.
From the next screen click on Course-related settings and scroll down to the checkbox Disable control over minimum and maximum number of enrolled students..
Enter the flag and click on Apply Changes to save the operation.