Skip to content

Commit

Permalink
Feat/cb2 12600 (#1504)
Browse files Browse the repository at this point in the history
* feat(cb2-12600): add form control to specialist contingency test group 1 and 5

* feat(cb2-12600): add hint text

* feat(cb2-12600): adjust error messages so they match ACs

* feat(cb2-12600): fix linting

* feat(cb2-12600): enable viewing reapplication date on view history and amend

* feat(cb2-12600): fix linting

* feat(cb2-12600): remove reapplication date from group 5 templates

* feat(cb2-12600): remove reapplication date from group 5

* feat(cb2-12600): fix the linting

* feat(cb2-12600): hide reapplication date when amending passed specialist test

* feat(cb2-12600): fix linting
  • Loading branch information
pbardy2000 authored Jun 26, 2024
1 parent 96736f5 commit e144fba
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ export const SpecialistTestSectionGroup1: FormNode = {
validators: [
{ name: ValidatorNames.HideIfNotEqual, args: { sibling: 'reasonForAbandoning', value: 'abandoned' } },
{ name: ValidatorNames.HideIfNotEqual, args: { sibling: 'additionalCommentsForAbandon', value: 'abandoned' } },
{
name: ValidatorNames.ShowGroupsWhenIncludes,
args: {
values: ['fail'],
groups: ['failOnly'],
},
},
{
name: ValidatorNames.HideGroupsWhenExcludes,
args: {
values: ['fail'],
groups: ['failOnly'],
},
},
],
asyncValidators: [
{ name: AsyncValidatorNames.ResultDependantOnRequiredStandards },
Expand Down

0 comments on commit e144fba

Please sign in to comment.