@eeplatform/nuxt-layer-common 1.7.56 → 1.7.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.7.58
4
+
5
+ ### Patch Changes
6
+
7
+ - 4250523: Fix enrollment form - set minimum age to 4 yrs old
8
+
9
+ ## 1.7.57
10
+
11
+ ### Patch Changes
12
+
13
+ - d061748: Fix enrollment form
14
+
3
15
  ## 1.7.56
4
16
 
5
17
  ### Patch Changes
@@ -1503,9 +1503,7 @@ const birthdateRules = [
1503
1503
  age--;
1504
1504
  }
1505
1505
  if (enrollment.value.gradeLevel === "non-graded") return true;
1506
- return (
1507
- age >= 5 || "Learner must be at least 5 years old (Kindergarten age)"
1508
- );
1506
+ return age >= 4 || "Learner must be at least 4 years old";
1509
1507
  },
1510
1508
  (v: any) => {
1511
1509
  if (!v) return true;
@@ -1545,6 +1543,7 @@ if (prop.school && !prop.selfService) {
1545
1543
  if (school) {
1546
1544
  enrollment.value.school = school._id;
1547
1545
  enrollment.value.region = school.region;
1546
+ enrollment.value.division = school.division;
1548
1547
  enrollment.value.province = school.province;
1549
1548
  enrollment.value.cityMunicipality = school.cityMunicipality;
1550
1549
  enrollment.value.schoolName = school.name;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eeplatform/nuxt-layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.7.56",
5
+ "version": "1.7.58",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"