-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
-
8
-
Team Alpha - Sprint 4 I1-2024, Team Alpha - Planning I2-2024, Team Alpha - Sprint 1 I2-2024, Team Alpha - Sprint 2 I2-2024
This matter extends from the enhancements made to the assignment settings page in MDL-80741.
This issue aims to improve the UI of the 'Maximum attempts' setting by transitioning it into a form group containing a numerical input field (restricted to values greater than or equal to 1) and a checkbox option.
The numerical input enables users to define the number of allowed attempts, while the checkbox indicates whether Unlimited attempts are allowed. Validation of the numerical text input is necessary; if the entered value for the allowed number of attempts is less than 1 or empty, an inline error message should be displayed to the users. If unlimited attempts are allowed (checkbox is checked), the number of attempts text input should be disabled.
Also, it is required to incorporate essential support in the core (mform js) to facilitate the new 'Maximum attempt' form group in managing the visibility of the 'Additional attempts' setting based on its value using a 'less than' comparison operator or when the Unlimited attempts option is checked.
- has to be done after
-
MDL-81002 Investigate the technical feasibility of hiding a mform element based on a ‘greater/less than' comparison
- Closed