From 4ec5fc876d811d01b92a51311f6288c75ca2547e Mon Sep 17 00:00:00 2001 From: warrickct Date: Thu, 26 Nov 2020 23:53:32 +1300 Subject: [PATCH] Revert "Drive shortname limited to 45 characters. Conditional existing option for personal dropbox in request forms." This reverts commit 402d22e4031177fab33dca2b280061becd4f0c69. --- .../request-storage/request-storage.component.html | 11 +++++------ .../request-storage/request-storage.component.ts | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/app/components/request-storage/request-storage.component.html b/src/app/components/request-storage/request-storage.component.html index 628a1d8..e472c6a 100644 --- a/src/app/components/request-storage/request-storage.component.html +++ b/src/app/components/request-storage/request-storage.component.html @@ -27,7 +27,6 @@

Do you want to request new storage or update existing storage?

New Existing - Existing - Personal Dropbox * Please choose an option @@ -110,7 +109,7 @@

Is there anything else you would like to tell us?

+ *ngIf="requestTypeForm.controls.requestType.value === 'New'">
General Information @@ -186,7 +185,7 @@

Please choose at least one FOR code from the Australian and New Zealand Stan + *ngIf="requestTypeForm.controls.requestType.value === 'New'"> Data Information @@ -217,10 +216,10 @@

GDC-data)?

- + Avoid generic names like my-project or my-data - * Please enter a short name containing less than 45 characters + * Please enter a short name @@ -436,7 +435,7 @@

Please provide a list of University of Auckland people who require access + *ngIf="requestTypeForm.controls.requestType.value === 'New'"> Data Size diff --git a/src/app/components/request-storage/request-storage.component.ts b/src/app/components/request-storage/request-storage.component.ts index 94910d1..580b10c 100644 --- a/src/app/components/request-storage/request-storage.component.ts +++ b/src/app/components/request-storage/request-storage.component.ts @@ -205,7 +205,7 @@ export class RequestStorageComponent implements OnInit, OnDestroy, CanComponentD this.dataInfoForm = this.formBuilder.group({ dataRequirements: new FormControl(undefined), dataRequirementsOther: new FormControl(undefined), - shortName: new FormControl(undefined, [Validators.required, Validators.maxLength(45)]), + shortName: new FormControl(undefined, [Validators.required]), projectMembers: this.projectMembers });