@eeplatform/nuxt-layer-common 1.7.58 → 1.7.59

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,11 @@
1
1
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.7.59
4
+
5
+ ### Patch Changes
6
+
7
+ - 1945a27: Fix enrollment form - missing region and division name
8
+
3
9
  ## 1.7.58
4
10
 
5
11
  ### Patch Changes
@@ -1543,7 +1543,9 @@ if (prop.school && !prop.selfService) {
1543
1543
  if (school) {
1544
1544
  enrollment.value.school = school._id;
1545
1545
  enrollment.value.region = school.region;
1546
+ enrollment.value.regionName = school.regionName;
1546
1547
  enrollment.value.division = school.division;
1548
+ enrollment.value.divisionName = school.divisionName;
1547
1549
  enrollment.value.province = school.province;
1548
1550
  enrollment.value.cityMunicipality = school.cityMunicipality;
1549
1551
  enrollment.value.schoolName = school.name;
@@ -2248,6 +2250,10 @@ watchEffect(() => {
2248
2250
  const selectedSchool = computed(() => enrollment.value.schoolId);
2249
2251
 
2250
2252
  watch(selectedSchool, (val) => {
2253
+ if (prop.selfService) {
2254
+ return;
2255
+ }
2256
+
2251
2257
  enrollment.value.gradeLevel = "";
2252
2258
 
2253
2259
  // Clear region, province, and cityMunicipality when schoolId is removed by user (not programmatically)
@@ -478,18 +478,17 @@
478
478
  <v-card-title class="text-h6 font-weight-bold pa-0 mb-3">
479
479
  Preferred Learning Modalities
480
480
  </v-card-title>
481
- <v-chip-group>
482
- <v-chip
483
- v-for="option in localProps.application
484
- .alternativeLearningOptions"
485
- :key="option"
486
- size="small"
487
- variant="outlined"
488
- color="primary"
489
- >
490
- {{ option }}
491
- </v-chip>
492
- </v-chip-group>
481
+ <v-chip
482
+ v-for="option in localProps.application
483
+ .alternativeLearningOptions"
484
+ :key="option"
485
+ size="small"
486
+ variant="outlined"
487
+ color="primary"
488
+ class="ma-1"
489
+ >
490
+ {{ option }}
491
+ </v-chip>
493
492
  </v-card>
494
493
  </v-col>
495
494
 
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.58",
5
+ "version": "1.7.59",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"