digital-form-builder
digital-form-builder copied to clipboard
#467 Omit components from summary page
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Please also include any acceptance criteria if you have any.
- Can now omit input components from summary page
- Link to issue
Type of change
Please delete options that are not relevant.
- [x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce the testing if necessary.
Before PR's can be merged they will need to be tested by QA and approved where applicable. To flag the change to QA assign @XGovFormBuilder/qa as one of the reviewers.
- [ ] Create a new input component and you will see a new check box "Omit Yes/No field from summary". When creating a component with this ticked it should no longer be displayed on the summary page when previewing.
Checklist:
- [x] My changes do not introduce any new linting errors
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I have rebased onto main and there are no code conflicts
- [x] I have checked deployments are working in all environments