mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-06 00:48:08 +02: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:
parent
c444da9a18
commit
d111a01b49
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user