Skip to content

Commit

Permalink
Vebt-684 Adding changes including text and skip option questions from…
Browse files Browse the repository at this point in the history
… the 10282 midpoint review (#32257)
  • Loading branch information
fatmakhan0395 authored Oct 4, 2024
1 parent 83dc437 commit b115de6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/applications/edu-benefits/10282/config/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const formConfig = {
path: 'education-employment-history-1',
uiSchema: highestLevelOfEducation.uiSchema,
schema: highestLevelOfEducation.schema,
depends: formData => formData.raceAndGender === 'Yes',
},
currentlyEmployed: {
title: 'Your education and employment history',
Expand All @@ -158,12 +159,14 @@ const formConfig = {
},
},
},
depends: formData => formData.raceAndGender === 'Yes',
},
currentAnnualSalary: {
title: 'Your education and employment history',
path: 'education-employment-history-3',
uiSchema: currentAnnualSalary.uiSchema,
schema: currentAnnualSalary.schema,
depends: formData => formData.raceAndGender === 'Yes',
},
isWorkingInTechIndustry: {
title: 'Your education and employment history',
Expand All @@ -186,12 +189,14 @@ const formConfig = {
},
},
},
depends: formData => formData.raceAndGender === 'Yes',
},
techIndustryFocusArea: {
title: 'Your education and employment history',
path: 'education-employment-history-5',
uiSchema: techIndustryFocusArea.uiSchema,
schema: techIndustryFocusArea.schema,
depends: formData => formData.raceAndGender === 'Yes',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const { ethnicity, orginRace } = fullSchema10282.properties;
const uiSchema = {
'ui:title': (
<h3 className="vads-u-margin--0 vads-u-color--base">
Your ethnicity, race, or origin
Your ethnicity, or race
</h3>
),
ethnicity: {
'ui:title': 'What is your ethnicity?',
'ui:widget': 'radio',
},
orginRace: {
'ui:title': 'What is your race or origin?',
'ui:title': 'What is your race?',
'ui:description': (
<p className="vads-u-margin-top--0 vads-u-color--gray-medium">
Select all that you identify with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const schema = {
properties: {
techIndustryFocusArea: {
...fullSchema10282.properties.techIndustryFocusArea,
enum: fullSchema10282.properties.techIndustryFocusArea.enum.sort(),
},
},
};
Expand Down

0 comments on commit b115de6

Please sign in to comment.