Skip to content

Commit

Permalink
Update veteran information (#30441)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToddWebDev authored Jun 21, 2024
1 parent 6f3d93c commit 0183e64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
import {
fullNameUI,
fullNameSchema,
fullNameNoSuffixUI,
fullNameNoSuffixSchema,
ssnUI,
ssnSchema,
vaFileNumberUI,
vaFileNumberSchema,
} from 'platform/forms-system/src/js/web-component-patterns';

/** @type {PageSchema} */
export default {
title: 'Veteran information',
path: 'veteran/information',
uiSchema: {
veteranFullName: fullNameUI(title => `Veteran’s ${title}`),
veteranFullName: fullNameNoSuffixUI(title => `Veteran’s ${title}`),
veteranSocialSecurityNumber: ssnUI('Veteran’s Social Security number'),
veteranFileNumber: vaFileNumberUI('Veteran’s file number'),
},
schema: {
type: 'object',
required: ['veteranFullName', 'veteranSocialSecurityNumber'],
properties: {
veteranFullName: fullNameSchema,
veteranFullName: fullNameNoSuffixSchema,
veteranSocialSecurityNumber: ssnSchema,
veteranFileNumber: vaFileNumberSchema,
},
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ describe('income and asset veteran information page', () => {
schema,
uiSchema,
{
'va-text-input': 4,
'va-select': 1,
'va-text-input': 5,
},
'veteran information',
);
Expand Down

0 comments on commit 0183e64

Please sign in to comment.