@eeplatform/nuxt-layer-common 1.7.31 → 1.7.32
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 +6 -0
- package/components/EnrollmentForm.vue +34 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1302,6 +1302,9 @@
|
|
|
1302
1302
|
<v-col cols="12">
|
|
1303
1303
|
<v-autocomplete
|
|
1304
1304
|
v-model="enrollment.seniorHighInfo.track"
|
|
1305
|
+
item-title="title"
|
|
1306
|
+
item-value="value"
|
|
1307
|
+
:return-object="false"
|
|
1305
1308
|
:items="tracks"
|
|
1306
1309
|
></v-autocomplete>
|
|
1307
1310
|
</v-col>
|
|
@@ -1318,6 +1321,9 @@
|
|
|
1318
1321
|
<v-col cols="12">
|
|
1319
1322
|
<v-autocomplete
|
|
1320
1323
|
v-model="enrollment.seniorHighInfo.strand"
|
|
1324
|
+
item-title="title"
|
|
1325
|
+
item-value="value"
|
|
1326
|
+
:return-object="false"
|
|
1321
1327
|
:items="selectedTrackStrands"
|
|
1322
1328
|
></v-autocomplete>
|
|
1323
1329
|
</v-col>
|
|
@@ -2252,6 +2258,34 @@ const isSeniorHighSchool = computed(() => {
|
|
|
2252
2258
|
return ["grade-11", "grade-12"].includes(gradeLevel);
|
|
2253
2259
|
});
|
|
2254
2260
|
|
|
2261
|
+
// Watch for track selection and set trackName
|
|
2262
|
+
watch(
|
|
2263
|
+
() => enrollment.value.seniorHighInfo?.track,
|
|
2264
|
+
(trackValue) => {
|
|
2265
|
+
if (!trackValue || !enrollment.value.seniorHighInfo) return;
|
|
2266
|
+
|
|
2267
|
+
const selectedTrack = tracks.find((track) => track.value === trackValue);
|
|
2268
|
+
if (selectedTrack && enrollment.value.seniorHighInfo) {
|
|
2269
|
+
enrollment.value.seniorHighInfo.trackName = selectedTrack.title ?? "";
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
);
|
|
2273
|
+
|
|
2274
|
+
// Watch for strand selection and set strandName
|
|
2275
|
+
watch(
|
|
2276
|
+
() => enrollment.value.seniorHighInfo?.strand,
|
|
2277
|
+
(strandValue) => {
|
|
2278
|
+
if (!strandValue || !enrollment.value.seniorHighInfo) return;
|
|
2279
|
+
|
|
2280
|
+
const selectedStrand = selectedTrackStrands.value.find(
|
|
2281
|
+
(strand) => strand.value === strandValue
|
|
2282
|
+
);
|
|
2283
|
+
if (selectedStrand && enrollment.value.seniorHighInfo) {
|
|
2284
|
+
enrollment.value.seniorHighInfo.strandName = selectedStrand.title ?? "";
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
);
|
|
2288
|
+
|
|
2255
2289
|
const isKindergarten = computed(() => {
|
|
2256
2290
|
const gradeLevel = enrollment.value.gradeLevel;
|
|
2257
2291
|
return gradeLevel === "kindergarten" || gradeLevel === "kinder";
|