File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,6 +332,7 @@ const isAfterSigned = computed(() => history.state?.isAfterSigned ?? shouldFireA
332332
333333const isEnvelope = computed (() => document .value ?.nodeType === ' envelope'
334334 || (Array .isArray (document .value ?.files ) && document .value .files .length > 0 ))
335+ const validationComponent = computed (() => (isEnvelope .value ? EnvelopeValidation : FileValidation ))
335336const validationDocument = computed (() => document .value )
336337const validationEnvelopeDocument = computed <LoadedValidationEnvelopeDocument | null >(() => (isLoadedValidationEnvelopeDocument (document .value ) ? document .value : null ))
337338const validationFileDocument = computed <LoadedValidationFileDocument | null >(() => (isLoadedValidationFileDocument (document .value ) ? document .value : null ))
@@ -879,6 +880,7 @@ defineExpose({
879880 signRequestUuidForProgress ,
880881 isAfterSigned ,
881882 isEnvelope ,
883+ validationComponent ,
882884 canValidate ,
883885 helperTextValidation ,
884886 size ,
You can’t perform that action at this time.
0 commit comments