1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Date time fallback fixes (#863)

* changed required state of expiration date for edit vs create modes

* updated jslib
This commit is contained in:
Addison Beck 2021-03-02 17:04:04 -05:00 committed by GitHub
parent 5c8e9a990c
commit a16abb94cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 36089fd68f9f7bb558aa3057f713d8a67eff05f9
Subproject commit f836629b48ce7816f250981c10538c4e4b84c710

View File

@ -137,10 +137,10 @@
</ng-container>
<div class="d-flex justify-content-around" *ngIf="!isDateTimeLocalSupported">
<input id="expirationDateCustomFallback" class="form-control mt-1" type="date"
name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" required
name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" [required]="!editMode"
placeholder="MM/DD/YYYY" [readOnly]="disableSend">
<input id="expirationTimeCustomFallback" class="form-control mt-1 ml-1" type="time"
name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" required
name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" [required]="!editMode"
placeholder="HH:MM AM/PM" [readOnly]="disableSend">
</div>
</ng-template>