Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
# core_form (subsystem) Upgrade notes
2
 
3
## 5.0
4
 
5
### Changed
6
 
7
- The `cohort` form element now accepts new `includes` option, which is passed to the corresponding external service to determine which cohorts to return (self, parents, all)
8
 
9
  For more information see [MDL-83641](https://tracker.moodle.org/browse/MDL-83641)
10
 
11
## 4.5
12
 
13
### Added
14
 
15
- The `duration` form field type has been modified to validate that the supplied value is a positive value.
16
  Previously it could be any numeric value, but every usage of this field in Moodle was expecting a positive value. When a negative value was provided and accepted, subtle bugs could occur.
17
  Where a negative duration _is_ allowed, the `allownegative` attribute can be set to `true`.
18
 
19
  For more information see [MDL-82687](https://tracker.moodle.org/browse/MDL-82687)