mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[AC-1418] Update SM seat count minimum to 1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
||||
<bit-form-field class="tw-w-2/3">
|
||||
<bit-label>{{ "subscriptionSeats" | i18n }}</bit-label>
|
||||
<input bitInput id="smSeatCount" formControlName="seatCount" type="number" step="1" min="0" />
|
||||
<input bitInput id="smSeatCount" formControlName="seatCount" type="number" step="1" min="1" />
|
||||
<bit-hint>
|
||||
<strong>{{ "total" | i18n }}:</strong>
|
||||
{{ formGroup.value.seatCount || 0 }} × {{ options.seatPrice | currency }} =
|
||||
|
||||
@@ -58,7 +58,7 @@ export class SecretsManagerAdjustSubscriptionComponent implements OnInit, OnDest
|
||||
private destroy$ = new Subject<void>();
|
||||
|
||||
formGroup = this.formBuilder.group({
|
||||
seatCount: [0, [Validators.required, Validators.min(0)]],
|
||||
seatCount: [0, [Validators.required, Validators.min(1)]],
|
||||
limitSeats: [false],
|
||||
seatLimit: [null as number | null],
|
||||
serviceAccountCount: [0, [Validators.required, Validators.min(0)]],
|
||||
|
||||
Reference in New Issue
Block a user