Skip to content

Commit

Permalink
Merge pull request #1981 from bcgov/fix/SDCPenMatchDatePicker
Browse files Browse the repository at this point in the history
fix datepicker not showing in sdcPenMatch
  • Loading branch information
arcshiftsolutions authored Nov 5, 2024
2 parents b819236 + 66dd7bc commit bf8589d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/components/common/EditStudent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@
>
<SDCPenMatch
:sdc-student="sdcSchoolCollectionStudentDetailCopy"
:is-read-only="isReadOnly"
@cancel="togglePENRequestDialog"
@use-found-p-e-n="useFoundPEN"
@request-staff-p-e-n-check="requestStaffPENCheck"
Expand Down
7 changes: 6 additions & 1 deletion frontend/src/components/sdcCollection/SDCPenMatch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@
id="dobPicker"
v-model="sdcStudent.dob"
label="Birthdate"
style="z-index: 20000"
:rules="[rules.required()]"
model-type="yyyyMMdd"
:error-message="err.birthDateError"
density="compact"
:readonly="isReadOnly"
@update:model-value="formUpdated"
/>
</v-col>
Expand Down Expand Up @@ -288,6 +288,11 @@ export default {
sdcStudent: {
type: Object,
required: true
},
isReadOnly: {
type: Boolean,
required: false,
default: true
}
},
emits: ['cancel', 'useFoundPEN', 'requestStaffPENCheck'],
Expand Down

0 comments on commit bf8589d

Please sign in to comment.