Skip to content

Commit 6966b39

Browse files
committed
pkp/pkp-lib#9295 revert back the watch for immediate computed prop update
1 parent ca3a204 commit 6966b39

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/components/Form/fields/FieldIssueSelection.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,16 @@ watch(
250250
{immediate: true},
251251
);
252252
253+
// Watch for assignment type changes to update validation
254+
watch(
255+
selectedAssignmentType,
256+
() => {
257+
// Trigger validation update when assignment type changes
258+
// which ensures validationErrors computed property updates
259+
},
260+
{immediate: true},
261+
);
262+
253263
const describedByErrorId = computed(() => {
254264
return `${props.formId || 'form'}-${props.name}-error`;
255265
});

0 commit comments

Comments
 (0)