Closed akachru-github closed 3 years ago
As requested in planning, here is the error message displayed under the UI fields:
The applicant does not need to be added as a collaborator
However, I believe the API already has a determined error for this validation, which works well for us.
@anncatton how in progress is this ticket?
@rosibaj i set up the collaborator errors to return the specific email field with the issue, like:
{ field: 'institutionEmail', message: 'The applicant does not need to be added as a collaborator.', }, { field: 'googleEmail', message: 'The applicant does not need to be added as a collaborator.', }
So it can be possible for one collaborator to have up to 2 email errors. Do you want more specific info in the message portion?
@anncatton i think that this is sufficient! if you think its workign then we just need @kcullion to give it a quick QA later!
@anncatton @rosibaj I can't find where this bug would have been - I see the error messages working as expected.
I tested with new applications...i'm not sure if there are any existing ones in the right state?
I tested with a new application too @anncatton - so this should be good if it works in new applications. Thanks! Oh we may have just kept this ticket for testing with the UI
Required for: https://github.com/icgc-argo/dac-ui/issues/329
For testing