- <input matInput type="text" placeholder="Trigger threshold" formControlName="triggerThreshold">
- <mat-hint align="end">Number of events in window to trigger blocking, minimum 1.</mat-hint>
- <mat-error *ngIf="validateControl('triggerThreshold') && hasError('triggerThreshold', 'required')">Number is
+ <input matInput type="text" placeholder="Blocking rate" formControlName="blocking_rate">
+ <mat-hint align="end">Connections to block when triggered (1-100)</mat-hint>
+ <mat-error *ngIf="validateControl('blocking_rate') && hasError('blocking_rate', 'required')">Number is required
+ </mat-error>
+ <mat-error *ngIf="hasError('blocking_rate', 'pattern')">Valid number is required</mat-error>
+ </mat-form-field>
+ <mat-form-field class="input-display-block">
+ <input matInput type="text" placeholder="Trigger threshold" formControlName="trigger_threshold">
+ <mat-hint align="end">Number of events in window to trigger blocking (min 1)</mat-hint>
+ <mat-error *ngIf="validateControl('trigger_threshold') && hasError('trigger_threshold', 'required')">Number is