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

Updated expiration year placeholder text to be dynamic (#1272)

* Updated Example text to be dynamic to current year using New Date(); and then a Date pipe to display properly in the UI

* Removed change in the add-edit.component.ts file because it is now made in jslib
This commit is contained in:
Anthony Garera 2020-07-03 22:46:42 -04:00 committed by GitHub
parent c444da9a18
commit d111a01b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@
<div class="box-content-row" appBoxRow>
<label for="cardExpYear">{{'expirationYear' | i18n}}</label>
<input id="cardExpYear" type="text" name="Card.ExpYear" [(ngModel)]="cipher.card.expYear"
placeholder="{{'ex' | i18n}} 2019">
placeholder="{{'ex' | i18n}} {{currentDate | date: 'yyyy'}}">
</div>
<div class="box-content-row box-content-row-flex" appBoxRow>
<div class="row-main">