mirror of
https://github.com/sartography/uva-covid19-testing-frontend.git
synced 2025-02-10 22:56:29 +00:00
Allows for 10-character Computing IDs
This commit is contained in:
parent
c84223a6c5
commit
6e1728d8e3
@ -58,8 +58,8 @@ export const defaultOptions: AppDefaultsOptions = {
|
||||
countsCollection: 'counts', // Name of collection for Line Counts in Firebase.
|
||||
dateDisplayFormat: 'MM/dd/yyyy, hh:mm aa', // Format for dates when displayed to user.
|
||||
dateEncodedFormat: 'yyyyMMddHHmm', // Format for dates when encoded in IDs for database records.
|
||||
initialsLength: 6,
|
||||
initialsRegExp: /^[a-zA-Z0-9]{2,6}$/,
|
||||
initialsLength: 10,
|
||||
initialsRegExp: /^[a-zA-Z0-9]{3,10}$/,
|
||||
labelLayout: labelLayouts.circle_qrcode_single, // Which label layout to use for printing. Can be overridden by user setting.
|
||||
lineCountRegExp: /^[\d]{4}-[\d]{12}$/, // ID format for Line Count records.
|
||||
locationId: '0000', // Default location ID. Can be overridden by user setting.
|
||||
|
@ -24,7 +24,7 @@
|
||||
<mat-error *ngIf="cardNumFormControl.hasError('pattern')">Please enter exactly 9 or 14 digits.</mat-error>
|
||||
</mat-form-field>
|
||||
<mat-form-field class="initials-input" fxFlex="95%">
|
||||
<mat-label>Initials or 6-character UVA Computing ID</mat-label>
|
||||
<mat-label>UVA Computing ID</mat-label>
|
||||
<input
|
||||
#initialsInput="matInput"
|
||||
matInput
|
||||
@ -34,7 +34,7 @@
|
||||
(keyup.enter)="goPrint()"
|
||||
>
|
||||
<mat-error *ngIf="initialsFormControl.hasError('required')">This field is required.</mat-error>
|
||||
<mat-error *ngIf="initialsFormControl.hasError('pattern')">Please enter only 2-5 letters.</mat-error>
|
||||
<mat-error *ngIf="initialsFormControl.hasError('pattern')">Please enter 3-10 alphanumeric characters.</mat-error>
|
||||
</mat-form-field>
|
||||
</mat-card-content>
|
||||
<mat-card-actions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user