Skip to content

Commit

Permalink
MBMS-78949 | Self-Service: PMC: Supporting documents: Error message n…
Browse files Browse the repository at this point in the history
…ot preventing user from continuing to next page (#33070)

* MBMS-78949 found this validateFileField component and added it to veteranSupportDocs. This should be the fix if it passes POR/UI/UX.

* MBMS-78949 wrapped this in a prod flag
  • Loading branch information
jordanBoardmanCodes authored Nov 20, 2024
1 parent 840cf5c commit b048f11
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import environment from 'platform/utilities/environment';

import { titleUI } from 'platform/forms-system/src/js/web-component-patterns/titlePattern';
import { validateFileField } from 'platform/forms-system/src/js/validation';
import { FileField } from '../components/FileField';
import SupportingDocsViewField from '../components/SupportingDocsViewField';

Expand Down Expand Up @@ -44,6 +45,7 @@ export default {
keepInPageOnReview: true,
classNames: 'schemaform-file-upload',
},
'ui:validations': !environment.isProduction() ? [validateFileField] : [],
},
},
schema: {
Expand Down

0 comments on commit b048f11

Please sign in to comment.