mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
fixed a few send date fallback bugs
This commit is contained in:
parent
84dafa3709
commit
b59d932a53
@ -124,12 +124,13 @@
|
|||||||
<div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported">
|
<div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported">
|
||||||
<input id="deletionDateCustomFallback" type="date"
|
<input id="deletionDateCustomFallback" type="date"
|
||||||
name="DeletionDateFallback" [(ngModel)]="deletionDateFallback" required
|
name="DeletionDateFallback" [(ngModel)]="deletionDateFallback" required
|
||||||
placeholder="MM/DD/YYYY" [readOnly]="disableSend">
|
placeholder="MM/DD/YYYY" [readOnly]="disableSend"
|
||||||
|
data-date-format="mm/dd/yyyy" >
|
||||||
<input *ngIf="!isSafari" id="deletionTimeCustomFallback" type="time"
|
<input *ngIf="!isSafari" id="deletionTimeCustomFallback" type="time"
|
||||||
name="DeletionTimeDate" [(ngModel)]="deletionTimeFallback" required
|
name="DeletionTimeDate" [(ngModel)]="deletionTimeFallback" required
|
||||||
placeholder="HH:MM AM/PM" [readOnly]="disableSend">
|
placeholder="HH:MM AM/PM" [readOnly]="disableSend">
|
||||||
<select *ngIf="isSafari" id="deletionTimeCustomFallback" [(ngModel)]="safariDeletionTime" name="SafariDeletionTime">
|
<select *ngIf="isSafari" id="deletionTimeCustomFallback" [(ngModel)]="safariDeletionTime" name="SafariDeletionTime">
|
||||||
<option *ngFor="let o of safariTimeOptions('deletion')" [value]="o.military">{{o.standard}}</option>
|
<option *ngFor="let o of safariDeletionTimeOptions" [value]="o.military">{{o.standard}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
@ -171,12 +172,13 @@
|
|||||||
<div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported">
|
<div class="flex flex-grow" *ngIf="!isDateTimeLocalSupported">
|
||||||
<input id="expirationDateCustomFallback" type="date"
|
<input id="expirationDateCustomFallback" type="date"
|
||||||
name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" [required]="!editMode"
|
name="ExpirationDateFallback" [(ngModel)]="expirationDateFallback" [required]="!editMode"
|
||||||
placeholder="MM/DD/YYYY" [readOnly]="disableSend" (change)="expirationDateFallbackChanged()">
|
placeholder="MM/DD/YYYY" [readOnly]="disableSend" (change)="expirationDateFallbackChanged()"
|
||||||
|
data-date-format="mm/dd/yyyy" >
|
||||||
<input *ngIf="!isSafari" id="expirationTimeCustomFallback" type="time"
|
<input *ngIf="!isSafari" id="expirationTimeCustomFallback" type="time"
|
||||||
name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" [required]="!editMode"
|
name="ExpirationTimeFallback" [(ngModel)]="expirationTimeFallback" [required]="!editMode"
|
||||||
placeholder="HH:MM AM/PM" [readOnly]="disableSend">
|
placeholder="HH:MM AM/PM" [readOnly]="disableSend">
|
||||||
<select *ngIf="isSafari" id="expirationTimeCustomFallback" [(ngModel)]="safariExpirationTime" name="SafariExpirationTime">
|
<select *ngIf="isSafari" id="expirationTimeCustomFallback" [(ngModel)]="safariExpirationTime" name="SafariExpirationTime">
|
||||||
<option *ngFor="let o of safariTimeOptions('deletion')" [value]="o.military">{{o.standard}}</option>
|
<option *ngFor="let o of safariExpirationTimeOptions" [value]="o.military">{{o.standard}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
Loading…
Reference in New Issue
Block a user