department-of-veterans-affairs / va-forms-system-core

VA Forms System Core will be a React library hosted in NPM that will allow engineers and designers to easily interact with Forms inside of vets-website.
https://department-of-veterans-affairs.github.io/va-forms-system-core/
6 stars 4 forks source link

Update Form Components so Review Page logic is optional #623

Open larsmaxwell opened 2 years ago

larsmaxwell commented 2 years ago

Currently, there is some logic that checks to see if the reviewPage context does not exist, but this needs to be more clear.

Something like an if else block here should do the trick.

Requirements: Update all the individual fields that hook into the page context to reflect this.